Re: [PATCH v1 3/4] i2c: mpc: Use device_get_match_data() helper

2021-04-13 Thread Chris Packham
On 14/04/21 2:37 am, Andy Shevchenko wrote: > Use the device_get_match_data() helper instead of open coding. > > Signed-off-by: Andy Shevchenko Reviewed-by: Chris Packham > --- > drivers/i2c/busses/i2c-mpc.c | 12 > 1 file changed, 4 insertions(+), 8 deletions(-) > > diff --git a

[PATCH v1 3/4] i2c: mpc: Use device_get_match_data() helper

2021-04-13 Thread Andy Shevchenko
Use the device_get_match_data() helper instead of open coding. Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mpc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 2376accd4e8e..ec9d7d93