public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Wolfram Sang <wsa@kernel.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>,
	Javier Martinez Canillas <javierm@redhat.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	kernel@pengutronix.de, linux-i2c@vger.kernel.org,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>,
	Pavel Machek <pavel@ucw.cz>, Jean Delvare <jdelvare@suse.com>
Subject: Re: [PATCH] i2c: Drop legacy callback .probe_new()
Date: Thu, 17 Aug 2023 12:29:00 +0100	[thread overview]
Message-ID: <20230817112900.GB986605@google.com> (raw)
In-Reply-To: <20230626094548.559542-1-u.kleine-koenig@pengutronix.de>

On Mon, 26 Jun 2023, Uwe Kleine-König wrote:

> Now that all drivers are converted to the (new) .probe() callback, the
> temporary .probe_new() can go away. \o/
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> Hello,
> 
> I was planning to send out this patch for inclusion into next after
> v6.5-rc1 as I thought there were only three drivers left to be converted
> before (on top of today's next/master). While preparing to submit this
> patch I noticed that a few more .probe_new were introduced in next even
> after commit 03c835f498b5 ("i2c: Switch .probe() to not take an id
> parameter"). I just sent out patches for all drivers in next that are
> still using .probe_new. These are:
> 
>  - w1: ds2482: Switch back to use struct i2c_driver's .probe()
>    https://lore.kernel.org/lkml/20230612072807.839689-1-u.kleine-koenig@pengutronix.de
>    Krzysztof Kozlowski already signaled this won't go into 6.5-rc via
>    his tree, and he's ok if it goes in via i2c then.
> 
>  - drm/i2c: Switch i2c drivers back to use .probe()
>    https://lore.kernel.org/dri-devel/20230611202740.826120-1-u.kleine-koenig@pengutronix.de
>    Currently applied to
> 
> 	https://anongit.freedesktop.org/git/drm/drm-misc.git drm-misc-next
> 
>    as d13b5d2b2b45. This won't make it onto v6.5-rc1 either.
> 
>  - watchdog: ziirave_wdt: Switch i2c driver back to use .probe()
>    https://lore.kernel.org/linux-watchdog/20230525210837.735447-1-u.kleine-koenig@pengutronix.de
>    Given that the merge window is open now, I doubt this will make it
>    into v6.5-rc1.
> 
>  - c4cfa2436ff6 hwmon: max31827: Switch back to use struct i2c_driver::probe
>    https://lore.kernel.org/linux-hwmon/20230626085145.554616-1-u.kleine-koenig@pengutronix.de
> 
>  - leds: aw200xx: Switch back to use struct i2c_driver::probe
>    https://lore.kernel.org/linux-leds/20230626090254.556206-1-u.kleine-koenig@pengutronix.de
> 
>  - media: i2c: ov01a10: Switch back to use struct i2c_driver::probe
>    https://lore.kernel.org/linux-media/20230626090533.556406-1-u.kleine-koenig@pengutronix.de
> 
>  - usb: typec: nb7vpq904m: Switch back to use struct i2c_driver::probe
>    https://lore.kernel.org/linux-usb/20230626091314.557122-1-u.kleine-koenig@pengutronix.de
> 
>  - regulator: raa215300: Switch back to use struct i2c_driver::probe
>    https://lore.kernel.org/lkml/20230626091544.557403-1-u.kleine-koenig@pengutronix.de
> 
>  - mfd: Switch two more drivers back to use struct i2c_driver::probe
>    https://lore.kernel.org/lkml/20230626091941.557733-1-u.kleine-koenig@pengutronix.de
> 
> The last six were only sent today, so I guess we have to wait another
> development cycle and then get this patch into next after v6.6-rc1
> (together with the patches from above list that will have failed to get
> into v6.6-rc1).
> 
> Until we're there, feel free to already look at this patch. I was unsure
> if I should split of the change to Documentation/hwmon/pmbus.rst. As
> .probe() already works in v6.3-rc2 this hunk could go in already
> earlier, e.g. via the hwmon tree. While thinking about that, the hunk
> for Documentation/i2c/writing-clients.rst could go in before, too.
> So tell me your thoughts, then I can split as desired.
> 
> Best regards
> Uwe
> 
>  Documentation/hwmon/pmbus.rst         |  2 +-
>  Documentation/i2c/writing-clients.rst |  2 +-
>  include/linux/i2c.h                   | 11 +----------
>  3 files changed, 3 insertions(+), 12 deletions(-)

Reviewed-by: Lee Jones <lee@kernel.org>

-- 
Lee Jones [李琼斯]

      parent reply	other threads:[~2023-08-17 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26  9:45 [PATCH] i2c: Drop legacy callback .probe_new() Uwe Kleine-König
2023-06-26 12:20 ` Javier Martinez Canillas
2023-06-26 15:46 ` Jean Delvare
2023-08-05 16:53 ` Andi Shyti
2023-08-17 11:29 ` Lee Jones [this message]

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=20230817112900.GB986605@google.com \
    --to=lee@kernel.org \
    --cc=broonie@kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=javierm@redhat.com \
    --cc=jdelvare@suse.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mchehab@kernel.org \
    --cc=pavel@ucw.cz \
    --cc=u.kleine-koenig@pengutronix.de \
    --cc=wim@linux-watchdog.org \
    --cc=wsa@kernel.org \
    /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