Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to use struct i2c_driver's .probe() #2

Closed
wants to merge 1 commit into from

Conversation

NewSunH
Copy link

@NewSunH NewSunH commented Jul 16, 2024

After commit torvalds/linux@b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit torvalds/linux@03c835f ("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop.

this can solve the bug in #1

has been tested by @NightFuryAstro

After commit torvalds/linux@b8a1a4c  ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
commit torvalds/linux@03c835f ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
@NightFuryAstro
Copy link

I've tried this solution, and finally errors disappeared.

@NewSunH NewSunH changed the title regulator: Switch to use struct i2c_driver's .probe() Switch to use struct i2c_driver's .probe() Jul 16, 2024
@NewSunH NewSunH closed this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants