arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 23 Jan 2017 18:07:43 +0000 (12:07 -0600)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 27 Jan 2017 00:21:27 +0000 (16:21 -0800)
commit80a7581f38c0b2e83dc883a2125340b90b5635ec
tree6b72f40cd5a9c999601e09f848399b6f4aead39d
parent1141d9d08184565b71a943a50ffe712b2dfc697f
arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86

The pmc_atom driver does not contain any architecture specific
code. It only enables the SoC Power Management Controller driver
for BayTrail and CherryTrail platforms.

Move the pmc_atom driver from arch/x86/platform/atom to
drivers/platform/x86. Also clean-up and reorder include files by
alphabetical order in pmc_atom.h

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
arch/x86/Kconfig
arch/x86/include/asm/pmc_atom.h [deleted file]
arch/x86/platform/atom/Makefile
arch/x86/platform/atom/pmc_atom.c [deleted file]
drivers/acpi/acpi_lpss.c
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/pmc_atom.c [new file with mode: 0644]
include/linux/platform_data/x86/pmc_atom.h [new file with mode: 0644]