On Wed, Jun 07, 2023 at 05:57:38PM +0100, Biju Das wrote: > Add i2c_get_match_data() to get match data for I2C, ACPI and > DT-based matching, so that we can optimize the driver code. > > Suggested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> No further comments, yet I like it, so: Applied to for-next, thanks! With one minor change, I hope you are okay with it: > + struct device_driver *drv = client->dev.driver; > + struct i2c_driver *driver = to_i2c_driver(drv); Variables 'drv' and 'driver' sounds like it could cause confusion later. I merged the two and eliminated 'drv' that way.
Attachment:
signature.asc
Description: PGP signature