Home
last modified time | relevance | path

Searched hist:ad25fc289be9532f486ef2cc6156e8d5acb060db (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/accel/
H A Dadxl355_i2c.cdiff ad25fc289be9532f486ef2cc6156e8d5acb060db Sun Jul 16 12:52:15 CDT 2023 Biju Das <biju.das.jz@bp.renesas.com> iio: accel: adxl355: Simplify probe()

Simplify the probe() by replacing of_device_get_match_data() and
i2c_match_id() by i2c_get_match_data() as we have similar I2C
and DT-based matching table.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Puranjay Mohan <puranjay12@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230716175218.130557-2-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>