Re: [PATCH v1 5/5] mfd: intel_quark_i2c_gpio: Reuse BAR definitions for MFD cell indexing

2021-03-23 Thread Andy Shevchenko
On Tue, Mar 23, 2021 at 09:20:57AM +, Lee Jones wrote: > On Tue, 02 Mar 2021, Andy Shevchenko wrote: > > > It's convenient and less error prone to use definitions to address > > different cells in an array. For this purpose we may reuse existing > > BAR definitions. ... > > + { > > +

Re: [PATCH v1 5/5] mfd: intel_quark_i2c_gpio: Reuse BAR definitions for MFD cell indexing

2021-03-23 Thread Lee Jones
On Tue, 02 Mar 2021, Andy Shevchenko wrote: > It's convenient and less error prone to use definitions to address > different cells in an array. For this purpose we may reuse existing > BAR definitions. > > Signed-off-by: Andy Shevchenko > --- > drivers/mfd/intel_quark_i2c_gpio.c | 20 ++

[PATCH v1 5/5] mfd: intel_quark_i2c_gpio: Reuse BAR definitions for MFD cell indexing

2021-03-02 Thread Andy Shevchenko
It's convenient and less error prone to use definitions to address different cells in an array. For this purpose we may reuse existing BAR definitions. Signed-off-by: Andy Shevchenko --- drivers/mfd/intel_quark_i2c_gpio.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(