Commit b20cb7d6 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

I2C: Get rid of warnings

Remove warnings from three i2c drivers.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0b80905e
......@@ -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)
......
......@@ -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)
......
......@@ -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,
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment