diff options
| author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-03 15:59:26 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@huawei.com> | 2023-09-12 10:42:04 +0100 |
| commit | 22da192f43f7d302d02644efa192ba5a05d935c9 (patch) | |
| tree | 466e78225de925534037ea87afc47ed14e3c2409 /net/lapb/lapb_in.c | |
| parent | c377e2febd91e21782f9106e663937f0629f39f1 (diff) | |
iio: pressure: ms5637: Use i2c_get_match_data()
Simplify probe() by replacing id lookup for retrieving match data and
device_get_match_data() by i2c_get_match_data().
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/20230903145926.66855-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
