aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-12-22 22:18:29 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-27 12:11:40 (GMT)
commit36eb6c41ce499c88719702be2dd86869eae5264d (patch)
tree1ad6821290fb007e2d496e3c4ea1aa7488643f21 /drivers/staging/media
parent811afabf147fc0c03f4b56a53e5440ceb556bdcb (diff)
[media] staging: media: bcm2048: Remove obsolete cleanup for clientdata
A few new i2c-drivers came into the kernel which clear the clientdata-pointer on exit or error. This is obsolete meanwhile, the core will do it. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/bcm2048/radio-bcm2048.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c
index 60a57b2..4d5e2f4 100644
--- a/drivers/staging/media/bcm2048/radio-bcm2048.c
+++ b/drivers/staging/media/bcm2048/radio-bcm2048.c
@@ -2699,8 +2699,6 @@ static int __exit bcm2048_i2c_driver_remove(struct i2c_client *client)
kfree(bdev);
}
- i2c_set_clientdata(client, NULL);
-
return 0;
}

Privacy Policy