Commit b38eeaae authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds
Browse files

drivers/misc/isl29020.c: remove incorrect kfree in isl29020_remove()

struct als_data *data is not used in this driver at all.

Also add a missing ">" character for MODULE_AUTHOR.
Signed-off-by: default avatarAxel Lin <>
Acked-by: default avatarAlan Cox <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ea251c1d
......@@ -183,9 +183,7 @@ static int isl29020_probe(struct i2c_client *client,
static int isl29020_remove(struct i2c_client *client)
struct als_data *data = i2c_get_clientdata(client);
sysfs_remove_group(&client->dev.kobj, &m_als_gr);
return 0;
......@@ -245,6 +243,6 @@ static void __exit sensor_isl29020_exit(void)
MODULE_AUTHOR("Kalhan Trisal <");
MODULE_AUTHOR("Kalhan Trisal <>");
MODULE_DESCRIPTION("Intersil isl29020 ALS Driver");
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