Re: [PATCH v3 0/2] Use i2c_get_match_data() instead of device_get_match_data()

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

 



On Tue, 25 Jul 2023 18:16:22 +0100
Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:

> Use i2c_get_match_data() to get match data for I2C, ACPI and
> DT-based matching instead of device_get_match_data() the one for
> ACPI/DT-based matching.
> 
> This patch series is only compile tested.

Even though one of these is a fix I'll take them the slow route
to avoid having to hold on to the second patch.

Applied to the togreg branch of iio.git and pushed out as testing
for all the normal reasons.

Jonathan

> 
> v2->v3:
>  * Added Rb tag from Geert for patch#1.
>  * Added link to lore for Closes tag.
> v1->v2:
>  * Added patch#1 for fixing adxl313_i2c_id[] table.
>  * Added Rb tag from Geert
>  * Removed error check as all tables have data pointers.
>  * retained Rb tag as the change is trivial.
> 
> Biju Das (2):
>   iio: accel: adxl313: Fix adxl313_i2c_id[] table
>   iio: accel: adxl313: Use i2c_get_match_data
> 
>  drivers/iio/accel/adxl313_i2c.c | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 




[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