Platform driver change for Bookworm

This commit is contained in:
vidhya r 2024-01-08 11:26:39 +00:00
parent c410b18f8f
commit 77f24d256c

View File

@ -108,7 +108,7 @@ static int mc24lc64t_probe(struct i2c_client *client,
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);
@ -116,7 +116,7 @@ static int mc24lc64t_remove(struct i2c_client *client)
sysfs_remove_bin_file(&client->dev.kobj, &mc24lc64t_bit_attr);
return 0;
return ;
}
static const struct i2c_device_id mc24lc64t_id[] = {