|
@@ -80,15 +80,6 @@ err:
|
|
|
return ret;
|
|
return ret;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-static int smsc_i2c_remove(struct i2c_client *i2c)
|
|
|
|
|
-{
|
|
|
|
|
- struct smsc *smsc = i2c_get_clientdata(i2c);
|
|
|
|
|
-
|
|
|
|
|
- mfd_remove_devices(smsc->dev);
|
|
|
|
|
-
|
|
|
|
|
- return 0;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
static const struct i2c_device_id smsc_i2c_id[] = {
|
|
static const struct i2c_device_id smsc_i2c_id[] = {
|
|
|
{ "smscece1099", 0},
|
|
{ "smscece1099", 0},
|
|
|
{},
|
|
{},
|
|
@@ -100,7 +91,6 @@ static struct i2c_driver smsc_i2c_driver = {
|
|
|
.name = "smsc",
|
|
.name = "smsc",
|
|
|
},
|
|
},
|
|
|
.probe = smsc_i2c_probe,
|
|
.probe = smsc_i2c_probe,
|
|
|
- .remove = smsc_i2c_remove,
|
|
|
|
|
.id_table = smsc_i2c_id,
|
|
.id_table = smsc_i2c_id,
|
|
|
};
|
|
};
|
|
|
|
|
|