ACPI: platform: Move SMB0001 HID to the header and reuse
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Jul 2023 12:14:09 +0000 (15:14 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jul 2023 17:28:20 +0000 (19:28 +0200)
commitbf6067a6caa6717c40156fd8dfa443fd568c193a
tree83be61067e5e6cf2bc8a175ff149eb4028466945
parentcefbd80bf52c791fede129ab5cf8be6ed9e8ce38
ACPI: platform: Move SMB0001 HID to the header and reuse

There are at least two places in the kernel that are using
the SMB0001 HID. Make it to be available via acpi_drivers.h
header file. While at it, replace hard coded one with a
definition.

Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
Link: https://lore.kernel.org/r/20230621151652.79579-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c
drivers/i2c/busses/i2c-scmi.c
include/acpi/acpi_drivers.h