summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-lpss-platform.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-11-17 14:08:04 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-11-22 17:36:27 +0300
commitf0f31de35644537a18059dac0e4a06f8b1c1c6c0 (patch)
tree420607f4d451acfa3ae7496b2ca850e39016ac0a /drivers/pwm/pwm-lpss-platform.c
parent2fd36aa0ad1c714d0c92a025ae28c8721ffe108e (diff)
downloadlinux-f0f31de35644537a18059dac0e4a06f8b1c1c6c0.tar.xz
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 <andriy.shevchenko@linux.intel.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
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);