mfd: lpc_ich: Separate device cells for clarity
authorAaron Sierra <asierra@xes-inc.com>
Wed, 23 Sep 2015 00:04:24 +0000 (19:04 -0500)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:18:50 +0000 (17:18 +0000)
commit3dab794f50451fa910d6a8d4d002c4ecda3cc1f5
tree19132d1c27fc9a50f149c884296391ccf49b3e88
parent39d047c0b1c812e9f0014e7100e372e61f2de3de
mfd: lpc_ich: Separate device cells for clarity

The lpc_ich_cells array gives the wrong impression about the
relationship between the watchdog and GPIO devices. They are
completely distinct devices, so this patch separates the
array into distinct mfd_cell structs per device.

A side effect of removing the array, is that the lpc_cells enum
is no longer needed.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lpc_ich.c