linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
To: linux-i2c@vger.kernel.org, linux-media@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org
Cc: Wolfram Sang <wsa@the-dreams.de>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Subject: [PATCH 0/6] media: i2c: Convert to probe_new()
Date: Wed, 10 Jul 2019 22:51:43 +0100	[thread overview]
Message-ID: <20190710215149.9208-1-kieran.bingham+renesas@ideasonboard.com> (raw)

The I2C driver framework aims to deprecate the current .probe() function which
requires both an i2c_client structure, and an i2c_device_id structure in favour
of a simpler probe_new() which takes only the i2c_client parameter.

Once all drivers are converted to the probe_new() a global rename can put this
back to probe().

This small series aims to rekindle this effort by converting a selection of the
media based drivers which do not utilise the i2c_device_id parameter and thus are
straightforward renames.

In a future series, these drivers could have their i2c_device_id tables
removed; however doing so may affect their module auto-loading due to a change
in their module alias representations.

I have submitted an RFC patch [0] to discuss if this could be handled at the
file2alias.c component of the modpost stage.

[0] https://lore.kernel.org/lkml/20190710193918.31135-1-kieran.bingham+renesas@ideasonboard.com/

Kieran Bingham (6):
  media: radio: si4713: Convert to new i2c device probe()
  media: radio: si470x: Convert to new i2c device probe()
  media: i2c: smiapp: Convert to new i2c device probe()
  media: i2c: s5c73m3: Convert to new i2c device probe()
  media: i2c: et8ek8: Convert to new i2c device probe()
  media: i2c: Convert to new i2c device probe()

 drivers/media/i2c/adv7343.c                   | 5 ++---
 drivers/media/i2c/et8ek8/et8ek8_driver.c      | 5 ++---
 drivers/media/i2c/imx274.c                    | 5 ++---
 drivers/media/i2c/max2175.c                   | 5 ++---
 drivers/media/i2c/mt9m001.c                   | 5 ++---
 drivers/media/i2c/mt9m111.c                   | 5 ++---
 drivers/media/i2c/ov2640.c                    | 5 ++---
 drivers/media/i2c/ov2659.c                    | 5 ++---
 drivers/media/i2c/ov5640.c                    | 5 ++---
 drivers/media/i2c/ov5645.c                    | 5 ++---
 drivers/media/i2c/ov5647.c                    | 5 ++---
 drivers/media/i2c/ov772x.c                    | 5 ++---
 drivers/media/i2c/ov7740.c                    | 5 ++---
 drivers/media/i2c/ov9650.c                    | 5 ++---
 drivers/media/i2c/s5c73m3/s5c73m3-core.c      | 5 ++---
 drivers/media/i2c/s5k5baf.c                   | 5 ++---
 drivers/media/i2c/s5k6a3.c                    | 5 ++---
 drivers/media/i2c/smiapp/smiapp-core.c        | 5 ++---
 drivers/media/i2c/tc358743.c                  | 5 ++---
 drivers/media/i2c/ths8200.c                   | 5 ++---
 drivers/media/i2c/tvp5150.c                   | 5 ++---
 drivers/media/i2c/tvp7002.c                   | 4 ++--
 drivers/media/radio/si470x/radio-si470x-i2c.c | 5 ++---
 drivers/media/radio/si4713/si4713.c           | 5 ++---
 24 files changed, 48 insertions(+), 71 deletions(-)

-- 
2.20.1


             reply	other threads:[~2019-07-10 21:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 21:51 Kieran Bingham [this message]
2019-07-10 21:51 ` [PATCH 1/6] media: radio: si4713: Convert to new i2c device probe() Kieran Bingham
2019-07-31 19:51   ` Wolfram Sang
2019-07-10 21:51 ` [PATCH 2/6] media: radio: si470x: " Kieran Bingham
2019-07-31 19:51   ` Wolfram Sang
2019-07-10 21:51 ` [PATCH 3/6] media: i2c: smiapp: " Kieran Bingham
2019-07-31 19:51   ` Wolfram Sang
2019-07-10 21:51 ` [PATCH 4/6] media: i2c: s5c73m3: " Kieran Bingham
2019-07-12 10:27   ` Andrzej Hajda
2019-07-31 19:51   ` Wolfram Sang
2019-07-10 21:51 ` [PATCH 5/6] media: i2c: et8ek8: " Kieran Bingham
2019-07-31 19:52   ` Wolfram Sang
2019-07-10 21:51 ` [PATCH 6/6] media: i2c: " Kieran Bingham
2019-07-11  8:05   ` Marco Felsch
2019-07-11  8:18     ` Kieran Bingham
2019-07-12 10:46       ` Marco Felsch
2019-07-12 10:29   ` Andrzej Hajda
2019-07-31 19:53   ` Wolfram Sang

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=20190710215149.9208-1-kieran.bingham+renesas@ideasonboard.com \
    --to=kieran.bingham+renesas@ideasonboard.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=wsa@the-dreams.de \
    /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;
as well as URLs for NNTP newsgroup(s).