backlight: atmel-pwm-bl: clean up get_intensity
authorJohan Hovold <jhovold@gmail.com>
Tue, 12 Nov 2013 23:09:42 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:21 +0000 (12:09 +0900)
commit9a26a84e3f77850ab80dbb9fb7f9821109f38f12
tree97d2f0333a9d13af9620094f1e4acbd56fe87d7e
parentce726c9738a27ee32a00136cc512b1058044a0fe
backlight: atmel-pwm-bl: clean up get_intensity

Clean up get_intensity to increase readability.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/atmel-pwm-bl.c