diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-12-12 12:02:11 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2012-12-16 21:21:33 -0500 |
commit | 7764b5282e7e04ede3020d86787122887840e016 (patch) | |
tree | 8a6ef07ed589163b4ad8297f6c338576937233c5 | |
parent | aed606e3bc1f10753254db308d3fd8c053c41328 (diff) |
hwmon: (twl4030-madc-hwmon) Fix warning message caused by removal of __devexit
Commit 281dfd0 removed __devexit from the exit function but left __exit_p in
place. This results in the following warning message if the module is built into
the kernel.
twl4030-madc-hwmon.c:123:12: warning: ‘twl4030_madc_hwmon_remove’ defined
but not used [-Wunused-function]
Fix by removing __exit_p as well.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r-- | drivers/hwmon/twl4030-madc-hwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/twl4030-madc-hwmon.c b/drivers/hwmon/twl4030-madc-hwmon.c index 149d44a7c584..6c6d440bb2dd 100644 --- a/drivers/hwmon/twl4030-madc-hwmon.c +++ b/drivers/hwmon/twl4030-madc-hwmon.c | |||
@@ -130,7 +130,7 @@ static int twl4030_madc_hwmon_remove(struct platform_device *pdev) | |||
130 | 130 | ||
131 | static struct platform_driver twl4030_madc_hwmon_driver = { | 131 | static struct platform_driver twl4030_madc_hwmon_driver = { |
132 | .probe = twl4030_madc_hwmon_probe, | 132 | .probe = twl4030_madc_hwmon_probe, |
133 | .remove = __exit_p(twl4030_madc_hwmon_remove), | 133 | .remove = twl4030_madc_hwmon_remove, |
134 | .driver = { | 134 | .driver = { |
135 | .name = "twl4030_madc_hwmon", | 135 | .name = "twl4030_madc_hwmon", |
136 | .owner = THIS_MODULE, | 136 | .owner = THIS_MODULE, |