aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/int3472/discrete.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-12-03 10:28:46 +0000
committerHans de Goede <[email protected]>2021-12-13 10:44:47 +0000
commitc537be0bfad6337f2afd618fe252c03217191405 (patch)
tree863eb0b5e8bd24b09fe40beace8d3c33312d9543 /drivers/platform/x86/intel/int3472/discrete.c
parenti2c: acpi: Use acpi_dev_ready_for_enumeration() helper (diff)
downloadkernel-c537be0bfad6337f2afd618fe252c03217191405.tar.gz
kernel-c537be0bfad6337f2afd618fe252c03217191405.zip
i2c: acpi: Add i2c_acpi_new_device_by_fwnode() function
Change i2c_acpi_new_device() into i2c_acpi_new_device_by_fwnode() and add a static inline wrapper providing the old i2c_acpi_new_device() behavior. This is necessary because in some cases we may only have access to the fwnode / acpi_device and not to the matching physical-node struct device *. Suggested-by: Andy Shevchenko <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/int3472/discrete.c')
0 files changed, 0 insertions, 0 deletions