RE: [PATCH 2/2] iio: magnetometer: ak8975: Simplify probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andy Shevchenko,

Thanks for the feedback.

> Subject: Re: [PATCH 2/2] iio: magnetometer: ak8975: Simplify probe()
> 
> On Mon, Aug 07, 2023 at 06:25:48PM +0100, Biju Das wrote:
> > Simplify the probe() by replacing device_get_match_data() and
> > i2c_client_get_device_id by i2c_get_match_data() as we have similar
> > I2C, ACPI and DT matching table.
> 
> ...
> 
> > -		name = dev_name(&client->dev);
> 
> > -		name = id->name;
> 
> > -	indio_dev->name = name;
> > +	indio_dev->name = dev_name(&client->dev);
> 
> I believe this is an ABI breakage.

OK, will drop this patch as future 
device_get_match_data() any will treat this as legacy table.

Cheers,
Biu






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux