diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-09-27 19:24:17 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-09-28 17:10:35 +0300 |
commit | 68af6fb00f2f1e72521169d5a4283faa8533694d (patch) | |
tree | 599631015b94849bcb0304e58fb3b8d2c6edaebe /drivers/pwm/pwm-lpss.h | |
parent | a3682d2fe3c36c68899bf1b956ed68d36d005868 (diff) | |
download | linux-68af6fb00f2f1e72521169d5a4283faa8533694d.tar.xz |
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 */ |