From: Axel Lin Date: Tue, 1 Nov 2011 00:12:15 +0000 (-0700) Subject: drivers/leds/leds-lm3530.c: add __devexit_p where needed X-Git-Tag: v3.2-rc1~108^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f539822ed60e18cd7fb417bff4efa1833af9f2;p=pandora-kernel.git 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 Cc: Shreshtha Kumar SAHU Cc: Richard Purdie Acked-by: Linus Walleij Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed