Hello, On Mon, Oct 07, 2024 at 06:55:53PM +0300, Dzmitry Sankouski wrote: > +static struct platform_driver max77705_charger_driver = { > + .driver = { > + .name = "max77705-charger", > + .of_match_table = max77705_charger_of_match, > + }, > + .probe = max77705_charger_probe, > + .remove_new = max77705_charger_remove, > +}; > +module_platform_driver(max77705_charger_driver); After commit 0edb555a65d1 ("platform: Make platform_driver::remove() return void") .remove() is (again) the right callback to implement for platform drivers. Please just drop "_new". Best regards Uwe
Attachment:
signature.asc
Description: PGP signature