[media] soc_camera: tw9910: Remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 24 May 2013 11:25:07 +0000 (08:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 16:11:22 +0000 (13:11 -0300)
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>
drivers/media/i2c/soc_camera/tw9910.c

index b5407dfad4ce852147490c88868b3583283e6af2..b15e1d8194da67853eaf756d4a49128b2f32d8e1 100644 (file)
@@ -925,11 +925,6 @@ static int tw9910_probe(struct i2c_client *client,
        return tw9910_video_probe(client);
 }
 
-static int tw9910_remove(struct i2c_client *client)
-{
-       return 0;
-}
-
 static const struct i2c_device_id tw9910_id[] = {
        { "tw9910", 0 },
        { }
@@ -941,7 +936,6 @@ static struct i2c_driver tw9910_i2c_driver = {
                .name = "tw9910",
        },
        .probe    = tw9910_probe,
-       .remove   = tw9910_remove,
        .id_table = tw9910_id,
 };