Searched hist:"93 f539822ed60e18cd7fb417bff4efa1833af9f2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-lm3530.c | diff 93f539822ed60e18cd7fb417bff4efa1833af9f2 Mon Oct 31 19:12:15 CDT 2011 Axel Lin <axel.lin@gmail.com> drivers/leds/leds-lm3530.c: add __devexit_p where needed
According to the comments in include/linux/init.h:
"Pointers to __devexit functions must use __devexit_p(function_name), the wrapper will insert either the function_name or NULL, depending on the config options."
We have __devexit annotation for lm3530_remove(), so add __devexit_p to the `struct i2c_driver'.
Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com> Cc: Richard Purdie <rpurdie@rpsys.net> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|