mfd: intel-lpss: Move linux/pm.h to the local header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 24 Jan 2019 18:03:28 +0000 (20:03 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 18 Feb 2019 09:06:52 +0000 (09:06 +0000)
commit16b7a09bb6fdf5d83bd22fd930c7e3c1e4f32911
treea03cc71c57dfa67bad798a07ca76118f6c812777
parentc1778e5819a9784b5551cf8f7abd66571c1239e2
mfd: intel-lpss: Move linux/pm.h to the local header

We now using a common macro for PM operations in Intel LPSS driver,
and, since that macro relies on the definition and macro from linux/pm.h
header file, it's logical to include it directly in intel-lpss.h.
Otherwise it's a bit fragile and requires a proper ordering
of header inclusion in C files.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss-acpi.c
drivers/mfd/intel-lpss-pci.c
drivers/mfd/intel-lpss.h