]> 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)
commitdbda8c7ac68e5c1684636c55a1671f2f354856ba
tree7a67d0c2ea4d9a909569ef47910a6858bba34329
parente8aca98499104e30ef574370b531ee2614b57acb
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