diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-08-03 19:32:52 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-12 09:26:28 +0200 |
commit | eddebe6dbe2c961ee7f6dc4a1fafc81212b44177 (patch) | |
tree | d6c06134cf5af690c4e5b01d2fc6f79ff5ac63fb /drivers/platform/surface/aggregator | |
parent | 560c71d4250f5f32b7952c290ddaf3cd4548a3ec (diff) |
platform/surface: surface3_power: Use i2c_acpi_get_i2c_resource() helper
ACPI provides a generic helper to get I²C Serial Bus resources.
Use it instead of open coded variant.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210803163252.60141-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface/aggregator')
0 files changed, 0 insertions, 0 deletions