Re: [PATCH v4 2/2] USB: typec: Add TI TPS25750 USB Type-C controller
From: Uwe Kleine-König
Date: Mon Aug 28 2023 - 06:16:18 EST
Hello,
On Sun, Aug 20, 2023 at 03:32:27PM -0400, Abdel Alkuor wrote:
> +static struct i2c_driver tps25750_i2c_driver = {
> + .driver = {
> + .name = "tps25750",
> + .pm = pm_ptr(&tps25750_pm_ops),
> + .of_match_table = tps25750_of_match,
> + },
> + .probe_new = tps25750_probe,
> + .remove = tps25750_remove,
> + .id_table = tps25750_id,
> +};
Please use .probe instead of .probe_new. Apart from just dropping "_new"
here, nothing is needed. .probe_new will go away soon.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature