Hi Andy, > Subject: Re: [PATCH] iio: pressure: bmp280: Use i2c_get_match_data() > > On Sat, Aug 12, 2023 at 06:58:08PM +0100, Biju Das wrote: > > Replace device_get_match_data() and id lookup for retrieving match > > data by i2c_get_match_data(). > > ... > > > const struct i2c_device_id *id = i2c_client_get_device_id(client); > > > > - chip_info = device_get_match_data(&client->dev); > > - if (!chip_info) > > - chip_info = (const struct bmp280_chip_info *) id->driver_data; > > + chip_info = i2c_get_match_data(client); > > Is id still in use? Yes down, return bmp280_common_probe( ..,id->name,..); Cheers, Biju