Re: [PATCH 1/2] [media] soc_camera: mt9t112: Remove empty function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 May 2013 16:55, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
> After the switch to devm_* functions, the 'remove' function does
> not do anything. Delete it.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Cc: Kuninori Morimoto <morimoto.kuninori@xxxxxxxxxxx>
> ---
>  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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux