OpenCloudOS-Kernel/include/linux/mfd/abx500
Lee Jones c45eab2cb0 mfd: ab8500-debugfs: Prevent initialised field from being over-written
Due to the lack of parity in the way array fields have been named/
numbered, a mistake was made where more debug fields were declared
than actually existed.  In doing so, 2 fields were added, which
although unclear, were already declared in the array.  The result
was that the latter declarations trashed the former ones.

This patch places the array back in the correct order and removes
the offending NULL entries.

While we're at it, let's ensure this doesn't happen again by naming
each field properly and add a new *_LAST define to describe how
many fields there should be.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-10-04 15:48:05 +01:00
..
ab8500-bm.h power: ab8500_fg.c: Remove unused function 2015-01-21 14:06:48 +01:00
ab8500-codec.h ASoC: codecs: Enable AB8500 CODEC for Device Tree 2012-09-20 09:10:57 +02:00
ab8500-gpadc.h mfd: ab8500-debug: Add support for the AB8540 2013-03-07 12:28:28 +08:00
ab8500-sysctrl.h mfd: db8500 stop passing around platform data 2016-07-12 11:23:58 +02:00
ab8500.h mfd: ab8500-debugfs: Prevent initialised field from being over-written 2016-10-04 15:48:05 +01:00
ux500_chargalg.h power_supply: Change ownership from driver to core 2015-03-13 23:15:51 +01:00