aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-lpss-platform.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-11-17 11:08:04 +0000
committerAndy Shevchenko <[email protected]>2022-11-22 14:36:27 +0000
commitf0f31de35644537a18059dac0e4a06f8b1c1c6c0 (patch)
tree420607f4d451acfa3ae7496b2ca850e39016ac0a /drivers/pwm/pwm-lpss-platform.c
parentpwm: lpss: Allow other drivers to enable PWM LPSS (diff)
downloadkernel-f0f31de35644537a18059dac0e4a06f8b1c1c6c0.tar.gz
kernel-f0f31de35644537a18059dac0e4a06f8b1c1c6c0.zip
pwm: lpss: Rename pwm_lpss_probe() --> devm_pwm_lpss_probe()
The pwm_lpss_probe() uses managed resources. Show this to the users explicitly by adding devm prefix to its name. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-lpss-platform.c')
-rw-r--r--drivers/pwm/pwm-lpss-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-lpss-platform.c b/drivers/pwm/pwm-lpss-platform.c
index c48c6f2b2cd8..f350607e28bd 100644
--- a/drivers/pwm/pwm-lpss-platform.c
+++ b/drivers/pwm/pwm-lpss-platform.c
@@ -31,7 +31,7 @@ static int pwm_lpss_probe_platform(struct platform_device *pdev)
if (IS_ERR(base))
return PTR_ERR(base);
- lpwm = pwm_lpss_probe(&pdev->dev, base, info);
+ lpwm = devm_pwm_lpss_probe(&pdev->dev, base, info);
if (IS_ERR(lpwm))
return PTR_ERR(lpwm);