linux/drivers/platform
Rajat Jain b02f6a2ef0 platform/x86: intel_pmc_core: Attach using APCI HID "INT33A1"
Most modern platforms already have the ACPI device "INT33A1" that could
be used to attach to the driver. Switch the driver to using that and
thus make the intel_pmc_core.c a pure platform_driver.

Some of the legacy platforms though, may still not have this ACPI device
in their ACPI tables. Thus for such platforms, move the code to manually
instantiate a platform_device into a new file of its own. This would
instantiate the intel_pmc_core platform device and thus attach to
the driver, if the ACPI device for the same ("INT33A1") is not present
in a system where it should be. This was discussed here:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1966991.html

Signed-off-by: Rajat Jain <rajatja@google.com>
[andy: renamed to intel_pmc_core_pltdrv.c to be in align with other drivers]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2019-07-08 16:51:30 +03:00
..
chrome - Core Frameworks 2019-05-14 10:39:08 -07:00
goldfish mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
mellanox platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow 2019-06-12 11:54:17 +03:00
mips MIPS: Loongson: Add Loongson-3A R2.1 basic support 2018-11-19 15:20:31 -08:00
olpc Platform: OLPC: Add a config menu category for XO 1.75 2019-06-12 11:53:20 +03:00
x86 platform/x86: intel_pmc_core: Attach using APCI HID "INT33A1" 2019-07-08 16:51:30 +03:00
Kconfig Platform: OLPC: Add XO-1.75 EC driver 2019-05-20 17:27:08 +03:00
Makefile Platform: OLPC: Add XO-1.75 EC driver 2019-05-20 17:27:08 +03:00