Platform driver change for Bookworm
This commit is contained in:
parent
c410b18f8f
commit
77f24d256c
@ -108,7 +108,7 @@ static int mc24lc64t_probe(struct i2c_client *client,
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mc24lc64t_remove(struct i2c_client *client)
|
static void mc24lc64t_remove(struct i2c_client *client)
|
||||||
{
|
{
|
||||||
struct mc24lc64t_data *drvdata = i2c_get_clientdata(client);
|
struct mc24lc64t_data *drvdata = i2c_get_clientdata(client);
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ static int mc24lc64t_remove(struct i2c_client *client)
|
|||||||
|
|
||||||
sysfs_remove_bin_file(&client->dev.kobj, &mc24lc64t_bit_attr);
|
sysfs_remove_bin_file(&client->dev.kobj, &mc24lc64t_bit_attr);
|
||||||
|
|
||||||
return 0;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct i2c_device_id mc24lc64t_id[] = {
|
static const struct i2c_device_id mc24lc64t_id[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user