diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2024-12-09 23:05:22 +0100 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-12-10 15:41:26 +0200 |
| commit | cc115abc1f9b55092c11c183ebff9ad921251609 (patch) | |
| tree | e9e5ee04f83a78cd830cf86137c4f58eae69b9c6 /drivers/platform/x86/intel/int3472/common.c | |
| parent | platform/x86: int3472: Fix skl_int3472_handle_gpio_resources() return value (diff) | |
| download | linux-cc115abc1f9b55092c11c183ebff9ad921251609.tar.gz linux-cc115abc1f9b55092c11c183ebff9ad921251609.zip | |
platform/x86: int3472: Debug log the sensor name
Debug log the sensor name to make it easier to figure out which INT3472
device is associated with which sensor.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241209220522.25288-4-hdegoede@redhat.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/int3472/common.c')
| -rw-r--r-- | drivers/platform/x86/intel/int3472/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel/int3472/common.c b/drivers/platform/x86/intel/int3472/common.c index b3a2578e06c1..1638be8fa71e 100644 --- a/drivers/platform/x86/intel/int3472/common.c +++ b/drivers/platform/x86/intel/int3472/common.c @@ -70,6 +70,8 @@ int skl_int3472_get_sensor_adev_and_name(struct device *dev, return -ENODEV; } + dev_dbg(dev, "Sensor name %s\n", acpi_dev_name(sensor)); + *name_ret = devm_kasprintf(dev, GFP_KERNEL, I2C_DEV_NAME_FORMAT, acpi_dev_name(sensor)); if (!*name_ret) |
