linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: Finalize the .probe_new() quest
@ 2023-09-05 19:42 Uwe Kleine-König
  2023-09-05 19:42 ` [PATCH 1/2] w1: ds2482: Switch back to use struct i2c_driver's .probe() Uwe Kleine-König
  2023-09-05 19:42 ` [PATCH 2/2] i2c: Drop legacy callback .probe_new() Uwe Kleine-König
  0 siblings, 2 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2023-09-05 19:42 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: Krzysztof Kozlowski, linux-i2c, kernel, Lee Jones

Hello,

this patch set finally drops .probe_new() from struct i2c_driver after
it was "temporarily" introduced in 2016 with commit b8a1a4cd5a98 ("i2c:
Provide a temporary .probe_new() call-back type")

Since commit 2be6bc48df59 ("Merge tag 'leds-next-6.6' of
git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds") all users of
.probe_new() are gone from Linus's tree apart from
drivers/w1/masters/ds2482.c. Krzysztof as w1 maintainer asked to take
the patch converting drivers/w1/masters/ds2482.c back to .probe() via
i2c together with the patch dropping .probe_new(). 

@wsa: Both patches have a Link: footer, I was unsure if I should keep it or
not. Feel free to drop them if you like it better this way.

In next are no new usages of .probe_new() and also I handled all
submission listed on https://lore.kernel.org/all/?q=dfb:probe_new to
prevent new usages. I'll continue to monitor the incoming patches for a
while.

According to

	git lg -S.probe_new --author=Kleine-König b8a1a4cd5a98..3f86ed6ec0b3 | wc -l

this quest needed 695 patches, thanks to all maintainers and reviewers for
caring about these, and sorry to all recipients of the patches for
filling their inboxes :-)

I suggest to apply this series on top of v6.6-rc1 in Wolfram's
i2c/for-next. I expect that a stable branch for merging into other trees
won't be necessary, but if it's applied directly on top of v6.6-rc1 we
have the option to create such a branch if and when the need arises.

Best regards
Uwe

Uwe Kleine-König (2):
  w1: ds2482: Switch back to use struct i2c_driver's .probe()
  i2c: Drop legacy callback .probe_new()

 drivers/w1/masters/ds2482.c |  2 +-
 include/linux/i2c.h         | 11 +----------
 2 files changed, 2 insertions(+), 11 deletions(-)

base-commit: 3f86ed6ec0b390c033eae7f9c487a3fea268e027
-- 
2.40.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-09-20  9:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 19:42 [PATCH 0/2] i2c: Finalize the .probe_new() quest Uwe Kleine-König
2023-09-05 19:42 ` [PATCH 1/2] w1: ds2482: Switch back to use struct i2c_driver's .probe() Uwe Kleine-König
2023-09-13  8:50   ` Wolfram Sang
2023-09-05 19:42 ` [PATCH 2/2] i2c: Drop legacy callback .probe_new() Uwe Kleine-König
2023-09-13  8:50   ` Wolfram Sang
2023-09-20  6:54     ` Uwe Kleine-König
2023-09-20  9:04       ` Wolfram Sang
2023-09-20  9:43         ` Uwe Kleine-König
2023-09-20  9:47           ` Wolfram Sang
2023-09-14  9:45   ` Lee Jones

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).