[PATCH 0/2] i2c: Finalize the .probe_new() quest

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

 



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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux