On Tue, Jun 06, 2023 at 02:05:19PM +0100, Biju Das wrote: > Add i2c_get_match_data() to get match data for both I2C and > DT-based matching, so that we can optimize the driver code that > uses both. > > Suggested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > --- > v2->v3: > * Added support for getting match data for both I2C and DT-based > matching. > * Added Rb tag from Geert and retained the Rb tag as change is trivial. Not so trivial, I think. Codewise yes, but the scope of the function changed as it includes DT now. So, in deed, I would appreciate a comment from Geert if he is okay with this change. I personally think it looks good.
Attachment:
signature.asc
Description: PGP signature