]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b5e6268f1c546cb21859433f248fb3b3d4ebe93
tree7a67d0c2ea4d9a909569ef47910a6858bba34329
parente911b5e7e1a3f56dc856e075f0a5db18a6be6468
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