On 24 May 2013 16:55, Sachin Kamat <sachin.ka...@linaro.org> wrote:
> After the switch to devm_* functions, the 'remove' function does
> not do anything. Delete it.
>
> Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org>
> Cc: Kuninori Morimoto <morimoto.kunin...@renesas.com>
> ---
>  drivers/media/i2c/soc_camera/mt9t112.c |    6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/media/i2c/soc_camera/mt9t112.c 
> b/drivers/media/i2c/soc_camera/mt9t112.c
> index a7256b7..0af29a4 100644
> --- a/drivers/media/i2c/soc_camera/mt9t112.c
> +++ b/drivers/media/i2c/soc_camera/mt9t112.c
> @@ -1118,11 +1118,6 @@ static int mt9t112_probe(struct i2c_client *client,
>         return ret;
>  }
>
> -static int mt9t112_remove(struct i2c_client *client)
> -{
> -       return 0;
> -}
> -
>  static const struct i2c_device_id mt9t112_id[] = {
>         { "mt9t112", 0 },
>         { }
> @@ -1134,7 +1129,6 @@ static struct i2c_driver mt9t112_i2c_driver = {
>                 .name = "mt9t112",
>         },
>         .probe    = mt9t112_probe,
> -       .remove   = mt9t112_remove,
>         .id_table = mt9t112_id,
>  };
>
> --
> 1.7.9.5
>

Gentle ping on this series  :)


-- 
With warm regards,
Sachin
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to