summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-08-12 09:57:40 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-09-11 22:12:41 +0300
commit72d365398d96293291abdab23ab6be08e86001fa (patch)
tree2bd0c2123cf93c5c1e09c5b92be0fc7b2cf62649 /scripts
parent541d803abf33caa7243c99361a47f7b998966815 (diff)
downloadlinux-72d365398d96293291abdab23ab6be08e86001fa.tar.xz
iio: magnetometer: yamaha-yas530: Use i2c_get_match_data()
Simplify the probe() by replacing device_get_match_data() with 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/20230812065741.20990-2-biju.das.jz@bp.renesas.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions