diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-09-27 18:24:17 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-09-28 16:10:35 +0200 |
commit | 68af6fb00f2f1e72521169d5a4283faa8533694d (patch) | |
tree | 599631015b94849bcb0304e58fb3b8d2c6edaebe /drivers/pwm/pwm-lpss.h | |
parent | pwm: lpss: Move exported symbols to PWM_LPSS namespace (diff) | |
download | linux-68af6fb00f2f1e72521169d5a4283faa8533694d.tar.xz linux-68af6fb00f2f1e72521169d5a4283faa8533694d.zip |
pwm: lpss: Move resource mapping to the glue drivers
Move resource mapping to the glue drivers which helps
to transform pwm_lpss_probe() to pure library function
that may be used by others without need of specific
resource management.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lpss.h')
-rw-r--r-- | drivers/pwm/pwm-lpss.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h index 9ea5b145a353..c344921b2cab 100644 --- a/drivers/pwm/pwm-lpss.h +++ b/drivers/pwm/pwm-lpss.h @@ -38,7 +38,7 @@ extern const struct pwm_lpss_boardinfo pwm_lpss_bsw_info; extern const struct pwm_lpss_boardinfo pwm_lpss_bxt_info; extern const struct pwm_lpss_boardinfo pwm_lpss_tng_info; -struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, struct resource *r, +struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev, void __iomem *base, const struct pwm_lpss_boardinfo *info); #endif /* __PWM_LPSS_H */ |