]> www.infradead.org Git - users/jedix/linux-maple.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, 24 Mar 2021 10:26:43 +0000 (10:26 +0000)
commit105cbb01200ce9694d1179396465ea2873de03a5
treef51cd712d84394febf0c8c5200fa3538f93e1913
parent9ace0a60f8648bbf6d37baa5127d42e18e273cef
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