crypto: mv_cesa - Use resource_size
authorTobias Klauser <tklauser@distanz.ch>
Fri, 14 May 2010 04:58:05 +0000 (14:58 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 May 2010 04:58:05 +0000 (14:58 +1000)
commit5bdd5ded95b3188d58ba43ac801b8849cbea1b16
tree43365aa1aead72399ab2f74730a2213a8ee150a4
parentedc774ed0c7d75e92b53105b386a5b0ce94d4525
crypto: mv_cesa - Use resource_size

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c