pwm: lpss: Include headers we are the direct user of
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 17 Nov 2022 11:08:02 +0000 (13:08 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 22 Nov 2022 14:36:27 +0000 (16:36 +0200)
commit878cf979c1458f835d436debb886f9dfff59012a
tree6d58c0d2c26e7d2dba8d6989e61910e59a4523de
parent739f90fc48be7fb40f6dfe1212745c7fe56f2ab1
pwm: lpss: Include headers we are the direct user of

For the sake of integrity, include headers we are the direct
user of.

Replace the inclusion of device.h by a forward declaration
of struct device plus a (cheaper) of types.h as device.h is
an expensive include (measured in compiler effort).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/pwm/pwm-lpss.h