Re: [PATCH v2 2/2] pinctrl: qcom: add the tlmm driver for QCS8300 platforms

From: Uwe Kleine-König
Date: Wed Oct 16 2024 - 05:25:46 EST


Hello,

On Wed, Oct 09, 2024 at 03:13:34PM +0800, Jingyi Wang wrote:
> +static struct platform_driver qcs8300_pinctrl_driver = {
> + .driver = {
> + .name = "qcs8300-tlmm",
> + .of_match_table = qcs8300_pinctrl_of_match,
> + },
> + .probe = qcs8300_pinctrl_probe,
> + .remove_new = msm_pinctrl_remove,
> +};

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