Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: mlx90614: Use i2c_get_match_data()

Replace device_get_match_data()->i2c_get_match_data() to extend matching
support for ID table.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Acked-by: "Crt Mori <cmo@melexis.com>"
Link: https://lore.kernel.org/r/20230812162222.200004-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Biju Das and committed by
Jonathan Cameron
4545d477 fe11e389

+1 -1
+1 -1
drivers/iio/temperature/mlx90614.c
··· 600 600 data->client = client; 601 601 mutex_init(&data->lock); 602 602 data->wakeup_gpio = mlx90614_probe_wakeup(client); 603 - data->chip_info = device_get_match_data(&client->dev); 603 + data->chip_info = i2c_get_match_data(client); 604 604 605 605 mlx90614_wakeup(data); 606 606