diff options
| author | Andy Shevchenko <[email protected]> | 2022-11-17 11:08:04 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2022-11-22 14:36:27 +0000 |
| commit | f0f31de35644537a18059dac0e4a06f8b1c1c6c0 (patch) | |
| tree | 420607f4d451acfa3ae7496b2ca850e39016ac0a /drivers/pwm/pwm-lpss.c | |
| parent | pwm: lpss: Allow other drivers to enable PWM LPSS (diff) | |
| download | kernel-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.c')
| -rw-r--r-- | drivers/pwm/pwm-lpss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-lpss.c b/drivers/pwm/pwm-lpss.c index b8739cd2c235..bb740346b699 100644 --- a/drivers/pwm/pwm-lpss.c +++ b/drivers/pwm/pwm-lpss.c @@ -244,8 +244,8 @@ static const struct pwm_ops pwm_lpss_ops = { .owner = THIS_MODULE, }; -struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, void __iomem *base, - const struct pwm_lpss_boardinfo *info) +struct pwm_lpss_chip *devm_pwm_lpss_probe(struct device *dev, void __iomem *base, + const struct pwm_lpss_boardinfo *info) { struct pwm_lpss_chip *lpwm; unsigned long c; @@ -284,7 +284,7 @@ struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, void __iomem *base, return lpwm; } -EXPORT_SYMBOL_GPL(pwm_lpss_probe); +EXPORT_SYMBOL_GPL(devm_pwm_lpss_probe); MODULE_DESCRIPTION("PWM driver for Intel LPSS"); MODULE_AUTHOR("Mika Westerberg <[email protected]>"); |
