]> git.baikalelectronics.ru Git - kernel.git/commit
omap: rng: Use resource_size instead of manual calculation
authorTobias Klauser <tklauser@distanz.ch>
Thu, 24 Sep 2009 23:23:18 +0000 (16:23 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Sep 2009 23:23:18 +0000 (16:23 -0700)
commit435b67599faf0b3dda0d433b4f09766c059507e3
tree7a03c8a08c2e292315aa19f4d95957acca7996d2
parent62307745da3460c178a4554b4bb0ea467bfc6bee
omap: rng: Use resource_size instead of manual calculation

Use the resource_size function instead of manually calculating the
resource size. This reduces the chance of introducing off-by-one-errors.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
drivers/char/hw_random/omap-rng.c