drivers/leds/leds-lp5523.c: change some macros to functions
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Wed, 24 Nov 2010 20:57:03 +0000 (12:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Nov 2010 21:50:42 +0000 (06:50 +0900)
commit87dbf6234d965851e7e13cbe80ad439f5fcb99c8
treec52a728afabfbc01ec7ccfd8187845d11ed578d9
parent9fdb18b6cb225fa7a874985fcb4a370cce1ac086
drivers/leds/leds-lp5523.c: change some macros to functions

A small macro changed to inline function to have proper type checking.
Inline added to two similar small functions.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-lp5523.c