aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/soc_camera
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-24 07:25:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 12:11:13 -0400
commitbe843eeb0c91eeafabeed9a7acadd1a47c978915 (patch)
tree68b76484a13cb5fe8f10218b7471d7077c96aaaa /drivers/media/i2c/soc_camera
parentf253f184186324dceaad10fd61e2e427177eb485 (diff)
[media] soc_camera: mt9t112: 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>
Diffstat (limited to 'drivers/media/i2c/soc_camera')
-rw-r--r--drivers/media/i2c/soc_camera/mt9t112.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/i2c/soc_camera/mt9t112.c b/drivers/media/i2c/soc_camera/mt9t112.c
index 0391d01e8d25..9b276dde5ac8 100644
--- a/drivers/media/i2c/soc_camera/mt9t112.c
+++ b/drivers/media/i2c/soc_camera/mt9t112.c
@@ -1102,11 +1102,6 @@ static int mt9t112_probe(struct i2c_client *client,
1102 return ret; 1102 return ret;
1103} 1103}
1104 1104
1105static int mt9t112_remove(struct i2c_client *client)
1106{
1107 return 0;
1108}
1109
1110static const struct i2c_device_id mt9t112_id[] = { 1105static const struct i2c_device_id mt9t112_id[] = {
1111 { "mt9t112", 0 }, 1106 { "mt9t112", 0 },
1112 { } 1107 { }
@@ -1118,7 +1113,6 @@ static struct i2c_driver mt9t112_i2c_driver = {
1118 .name = "mt9t112", 1113 .name = "mt9t112",
1119 }, 1114 },
1120 .probe = mt9t112_probe, 1115 .probe = mt9t112_probe,
1121 .remove = mt9t112_remove,
1122 .id_table = mt9t112_id, 1116 .id_table = mt9t112_id,
1123}; 1117};
1124 1118