summaryrefslogtreecommitdiff
path: root/drivers/iio/temperature
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-08-12 15:10:44 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-11 20:12:42 +0100
commitfe11e389117a6d98a8a5c894f69975877c612d67 (patch)
tree6ba5210c12dc4fb979b57919dec5ef6539da017a /drivers/iio/temperature
parent9f6001e390927aa3173cfd4c7d325b8f1d93ccf8 (diff)
iio: accel: bma180: Convert enum->pointer for data in the match table
Convert enum->pointer for data in the match table, so that device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c bus type match support added to it. Replace enum->struct *bma180_part_info for data in the match table and simplify bma180_probe(). 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/20230812141044.151520-1-biju.das.jz@bp.renesas.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/temperature')
0 files changed, 0 insertions, 0 deletions