[PATCH v3 2/3] pwm: Add Allwinner's D1/T113-S3/R329 SoCs PWM support

Philipp Zabel p.zabel at pengutronix.de
Fri Jul 7 01:18:57 PDT 2023


On Di, 2023-06-27 at 11:23 +0300, Aleksandr Shubin wrote:
[...]
> +static int sun20i_pwm_probe(struct platform_device *pdev)
> +{
[...]
> +	sun20i_chip->rst = devm_reset_control_get(&pdev->dev, NULL);

Please use devm_reset_control_get_exclusive() directly.

regards
Philipp



More information about the linux-arm-kernel mailing list