mfd: intel_quark_i2c_gpio: Reuse BAR definitions for MFD cell indexing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Mar 2021 12:34:32 +0000 (14:34 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:31 +0000 (16:06 +0100)
commit98d6e7fce6b0174c701dc596539dc7bc1e96f8ce
tree7a67d0c2ea4d9a909569ef47910a6858bba34329
parentd1157530d476ffce4485182eea5b492065362a09
mfd: intel_quark_i2c_gpio: Reuse BAR definitions for MFD cell indexing

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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_quark_i2c_gpio.c