aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-24 07:25:07 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 12:11:22 -0400
commitf88b50ad6851632a0ff78bfa658e3b5484510969 (patch)
tree398b54ed5ba11123f776030d56f1cbb1021d1102
parentbe843eeb0c91eeafabeed9a7acadd1a47c978915 (diff)
[media] soc_camera: tw9910: Remove empty function
After the switch to devm_* functions, the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/i2c/soc_camera/tw9910.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/i2c/soc_camera/tw9910.c b/drivers/media/i2c/soc_camera/tw9910.c
index b5407dfad4ce..b15e1d8194da 100644
--- a/drivers/media/i2c/soc_camera/tw9910.c
+++ b/drivers/media/i2c/soc_camera/tw9910.c
@@ -925,11 +925,6 @@ static int tw9910_probe(struct i2c_client *client,
925 return tw9910_video_probe(client); 925 return tw9910_video_probe(client);
926} 926}
927 927
928static int tw9910_remove(struct i2c_client *client)
929{
930 return 0;
931}
932
933static const struct i2c_device_id tw9910_id[] = { 928static const struct i2c_device_id tw9910_id[] = {
934 { "tw9910", 0 }, 929 { "tw9910", 0 },
935 { } 930 { }
@@ -941,7 +936,6 @@ static struct i2c_driver tw9910_i2c_driver = {
941 .name = "tw9910", 936 .name = "tw9910",
942 }, 937 },
943 .probe = tw9910_probe, 938 .probe = tw9910_probe,
944 .remove = tw9910_remove,
945 .id_table = tw9910_id, 939 .id_table = tw9910_id,
946}; 940};
947 941