From: Felipe Balbi Date: Tue, 13 May 2008 12:22:10 +0000 (+0300) Subject: I2C: Get rid of warnings X-Git-Tag: v2.6.26-omap1~123^2~109 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b20cb7d6d7378d7cbb91db1bf07faca80293c2db;p=linux-2.6-omap-h63xx.git I2C: Get rid of warnings Remove warnings from three i2c drivers. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/drivers/i2c/chips/lp5521.c b/drivers/i2c/chips/lp5521.c index 4d869f99bfb..254d555ad63 100644 --- a/drivers/i2c/chips/lp5521.c +++ b/drivers/i2c/chips/lp5521.c @@ -563,7 +563,7 @@ static struct i2c_driver lp5521_driver = { .name = LP5521_DRIVER_NAME, }, .probe = lp5521_probe, - .remove = __exit_p(lp5521_remove), + .remove = __devexit_p(lp5521_remove), }; static int __init lp5521_init(void) diff --git a/drivers/i2c/chips/tsl2563.c b/drivers/i2c/chips/tsl2563.c index b39b65caf09..bc5810609c3 100644 --- a/drivers/i2c/chips/tsl2563.c +++ b/drivers/i2c/chips/tsl2563.c @@ -717,7 +717,7 @@ static struct i2c_driver tsl2563_i2c_driver = { .suspend = tsl2563_suspend, .resume = tsl2563_resume, .probe = tsl2563_probe, - .remove = __exit_p(tsl2563_remove), + .remove = __devexit_p(tsl2563_remove), }; static int __init tsl2563_init(void) diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c index d345a3addd7..e793ae7fc80 100644 --- a/drivers/input/keyboard/lm8323.c +++ b/drivers/input/keyboard/lm8323.c @@ -894,7 +894,7 @@ static struct i2c_driver lm8323_i2c_driver = { .name = DRIVER_NAME, }, .probe = lm8323_probe, - .remove = __exit_p(lm8323_remove), + .remove = __devexit_p(lm8323_remove), .suspend = lm8323_suspend, .resume = lm8323_resume, .id_table = lm8323_id, diff --git a/drivers/media/radio/radio-tea5761.c b/drivers/media/radio/radio-tea5761.c index 8a0cf42621e..34fcd3af7e4 100644 --- a/drivers/media/radio/radio-tea5761.c +++ b/drivers/media/radio/radio-tea5761.c @@ -484,7 +484,7 @@ static struct i2c_driver tea5761_driver = { .name = DRIVER_NAME, }, .probe = tea5761_i2c_driver_probe, - .remove = tea5761_i2c_driver_remove, + .remove = __devexit_p(tea5761_i2c_driver_remove), }; static int __init tea5761_init(void)