]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging:iio:lpc32xx_adc: Use resource_size instead of opencoding it
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 18 Oct 2012 14:43:00 +0000 (15:43 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 19 Oct 2012 15:25:31 +0000 (16:25 +0100)
commit6c724cb0ad772ae43928467f0a44731848eb22b2
treeca90b3544de75692b9b5b92ca600cf6862ec48a5
parent6fae58f39207d03ae78b0b03347810d0f8452ab6
staging:iio:lpc32xx_adc: Use resource_size instead of opencoding it

Fixes the following error from coccicheck:
drivers/staging/iio/adc/lpc32xx_adc.c:153:43-46: ERROR: Missing resource_size with res

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/lpc32xx_adc.c