mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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>
This commit is contained in:
@@ -27,7 +27,7 @@ struct pwm_lpss_boardinfo {
|
||||
bool other_devices_aml_touches_pwm_regs;
|
||||
};
|
||||
|
||||
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);
|
||||
|
||||
#endif /* __PLATFORM_DATA_X86_PWM_LPSS_H */
|
||||
|
||||
Reference in New Issue
Block a user