diff options
| author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-08-18 08:55:56 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-09-11 20:12:42 +0100 |
| commit | 4f9ea93afde190a0f906ee624fc9a45cf784551b (patch) | |
| tree | 5d084625cbddad75f0eaa6955c4dd29f6c9bf1f3 /include/linux/pps_kernel.h | |
| parent | 4545d4777d9ede0f8061edf9a08c842d719c0fe6 (diff) | |
iio: magnetometer: ak8975: Convert enum->pointer for data in the match tables
Convert enum->pointer for data in the match tables to simplify the probe()
by replacing device_get_match_data() and i2c_client_get_device_id by
i2c_get_match_data() as we have similar I2C, ACPI and DT matching table.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230818075600.24277-2-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
