After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.
Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
return 0;
}
-static int pcf8583_remove(struct i2c_client *client)
-{
- return 0;
-}
-
static const struct i2c_device_id pcf8583_id[] = {
{ "pcf8583", 0 },
{ }
.owner = THIS_MODULE,
},
.probe = pcf8583_probe,
- .remove = pcf8583_remove,
.id_table = pcf8583_id,
};