diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-11-17 13:08:04 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-11-22 16:36:27 +0200 |
commit | f0f31de35644537a18059dac0e4a06f8b1c1c6c0 (patch) | |
tree | 420607f4d451acfa3ae7496b2ca850e39016ac0a /drivers/pwm/pwm-lpss-platform.c | |
parent | 2fd36aa0ad1c714d0c92a025ae28c8721ffe108e (diff) |
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.c | 2 |
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); |