public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hansverk@cisco.com>
To: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Hans Verkuil <hans.verkuil@cisco.com>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Kate Stewart <kstewart@linuxfoundation.org>,
	Philippe Ombredanne <pombredanne@nexb.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jacopo Mondi <jacopo+renesas@jmondi.org>,
	Akinobu Mita <akinobu.mita@gmail.com>
Subject: Re: [PATCH] media: rename soc_camera I2C drivers
Date: Fri, 19 Oct 2018 13:45:32 +0200	[thread overview]
Message-ID: <fa7f6ef2-af25-a554-2ecc-e99c9fb1e68d@cisco.com> (raw)
In-Reply-To: <3e42194ffb936ec9d0a4d361f06c6a4b0e88173f.1539949382.git.mchehab+samsung@kernel.org>

On 10/19/18 13:43, Mauro Carvalho Chehab wrote:
> Those drivers are part of the legacy SoC camera framework.
> They're being converted to not use it, but sometimes we're
> keeping both legacy any new driver.
> 
> This time, for example, we have two drivers on media with
> the same name: ov772x. That's bad.
> 
> So, in order to prevent that to happen, let's prepend the SoC
> legacy drivers with soc_.
> 
> No functional changes.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>

Let's kill all of these in the next kernel. I see no reason for keeping
them around.

Regards,

	Hans

> ---
>  drivers/media/i2c/soc_camera/Makefile          | 18 +++++++++---------
>  .../soc_camera/{mt9m001.c => soc_mt9m001.c}    |  0
>  .../soc_camera/{mt9t112.c => soc_mt9t112.c}    |  0
>  .../soc_camera/{mt9v022.c => soc_mt9v022.c}    |  0
>  .../i2c/soc_camera/{ov5642.c => soc_ov5642.c}  |  0
>  .../i2c/soc_camera/{ov772x.c => soc_ov772x.c}  |  0
>  .../i2c/soc_camera/{ov9640.c => soc_ov9640.c}  |  0
>  .../i2c/soc_camera/{ov9740.c => soc_ov9740.c}  |  0
>  .../{rj54n1cb0c.c => soc_rj54n1cb0c.c}         |  0
>  .../i2c/soc_camera/{tw9910.c => soc_tw9910.c}  |  0
>  10 files changed, 9 insertions(+), 9 deletions(-)
>  rename drivers/media/i2c/soc_camera/{mt9m001.c => soc_mt9m001.c} (100%)
>  rename drivers/media/i2c/soc_camera/{mt9t112.c => soc_mt9t112.c} (100%)
>  rename drivers/media/i2c/soc_camera/{mt9v022.c => soc_mt9v022.c} (100%)
>  rename drivers/media/i2c/soc_camera/{ov5642.c => soc_ov5642.c} (100%)
>  rename drivers/media/i2c/soc_camera/{ov772x.c => soc_ov772x.c} (100%)
>  rename drivers/media/i2c/soc_camera/{ov9640.c => soc_ov9640.c} (100%)
>  rename drivers/media/i2c/soc_camera/{ov9740.c => soc_ov9740.c} (100%)
>  rename drivers/media/i2c/soc_camera/{rj54n1cb0c.c => soc_rj54n1cb0c.c} (100%)
>  rename drivers/media/i2c/soc_camera/{tw9910.c => soc_tw9910.c} (100%)
> 
> diff --git a/drivers/media/i2c/soc_camera/Makefile b/drivers/media/i2c/soc_camera/Makefile
> index 8c7770f62997..09ae483b96ef 100644
> --- a/drivers/media/i2c/soc_camera/Makefile
> +++ b/drivers/media/i2c/soc_camera/Makefile
> @@ -1,10 +1,10 @@
>  # SPDX-License-Identifier: GPL-2.0
> -obj-$(CONFIG_SOC_CAMERA_MT9M001)	+= mt9m001.o
> -obj-$(CONFIG_SOC_CAMERA_MT9T112)	+= mt9t112.o
> -obj-$(CONFIG_SOC_CAMERA_MT9V022)	+= mt9v022.o
> -obj-$(CONFIG_SOC_CAMERA_OV5642)		+= ov5642.o
> -obj-$(CONFIG_SOC_CAMERA_OV772X)		+= ov772x.o
> -obj-$(CONFIG_SOC_CAMERA_OV9640)		+= ov9640.o
> -obj-$(CONFIG_SOC_CAMERA_OV9740)		+= ov9740.o
> -obj-$(CONFIG_SOC_CAMERA_RJ54N1)		+= rj54n1cb0c.o
> -obj-$(CONFIG_SOC_CAMERA_TW9910)		+= tw9910.o
> +obj-$(CONFIG_SOC_CAMERA_MT9M001)	+= soc_mt9m001.o
> +obj-$(CONFIG_SOC_CAMERA_MT9T112)	+= soc_mt9t112.o
> +obj-$(CONFIG_SOC_CAMERA_MT9V022)	+= soc_mt9v022.o
> +obj-$(CONFIG_SOC_CAMERA_OV5642)		+= soc_ov5642.o
> +obj-$(CONFIG_SOC_CAMERA_OV772X)		+= soc_ov772x.o
> +obj-$(CONFIG_SOC_CAMERA_OV9640)		+= soc_ov9640.o
> +obj-$(CONFIG_SOC_CAMERA_OV9740)		+= soc_ov9740.o
> +obj-$(CONFIG_SOC_CAMERA_RJ54N1)		+= soc_rj54n1cb0c.o
> +obj-$(CONFIG_SOC_CAMERA_TW9910)		+= soc_tw9910.o
> diff --git a/drivers/media/i2c/soc_camera/mt9m001.c b/drivers/media/i2c/soc_camera/soc_mt9m001.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/mt9m001.c
> rename to drivers/media/i2c/soc_camera/soc_mt9m001.c
> diff --git a/drivers/media/i2c/soc_camera/mt9t112.c b/drivers/media/i2c/soc_camera/soc_mt9t112.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/mt9t112.c
> rename to drivers/media/i2c/soc_camera/soc_mt9t112.c
> diff --git a/drivers/media/i2c/soc_camera/mt9v022.c b/drivers/media/i2c/soc_camera/soc_mt9v022.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/mt9v022.c
> rename to drivers/media/i2c/soc_camera/soc_mt9v022.c
> diff --git a/drivers/media/i2c/soc_camera/ov5642.c b/drivers/media/i2c/soc_camera/soc_ov5642.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/ov5642.c
> rename to drivers/media/i2c/soc_camera/soc_ov5642.c
> diff --git a/drivers/media/i2c/soc_camera/ov772x.c b/drivers/media/i2c/soc_camera/soc_ov772x.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/ov772x.c
> rename to drivers/media/i2c/soc_camera/soc_ov772x.c
> diff --git a/drivers/media/i2c/soc_camera/ov9640.c b/drivers/media/i2c/soc_camera/soc_ov9640.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/ov9640.c
> rename to drivers/media/i2c/soc_camera/soc_ov9640.c
> diff --git a/drivers/media/i2c/soc_camera/ov9740.c b/drivers/media/i2c/soc_camera/soc_ov9740.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/ov9740.c
> rename to drivers/media/i2c/soc_camera/soc_ov9740.c
> diff --git a/drivers/media/i2c/soc_camera/rj54n1cb0c.c b/drivers/media/i2c/soc_camera/soc_rj54n1cb0c.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/rj54n1cb0c.c
> rename to drivers/media/i2c/soc_camera/soc_rj54n1cb0c.c
> diff --git a/drivers/media/i2c/soc_camera/tw9910.c b/drivers/media/i2c/soc_camera/soc_tw9910.c
> similarity index 100%
> rename from drivers/media/i2c/soc_camera/tw9910.c
> rename to drivers/media/i2c/soc_camera/soc_tw9910.c
> 

  reply	other threads:[~2018-10-19 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-19 11:43 [PATCH] media: rename soc_camera I2C drivers Mauro Carvalho Chehab
2018-10-19 11:45 ` Hans Verkuil [this message]
2018-10-19 12:31   ` Mauro Carvalho Chehab
2018-10-19 12:39     ` Hans Verkuil
2018-10-19 12:58       ` Sakari Ailus
2018-10-19 13:13         ` jacopo mondi
2018-10-19 20:19           ` Sakari Ailus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa7f6ef2-af25-a554-2ecc-e99c9fb1e68d@cisco.com \
    --to=hansverk@cisco.com \
    --cc=akinobu.mita@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hans.verkuil@cisco.com \
    --cc=jacopo+renesas@jmondi.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    --cc=mchehab@infradead.org \
    --cc=pombredanne@nexb.com \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox