mfd: Refactor WM831x chip identification
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 1 Oct 2009 14:41:04 +0000 (15:41 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:20:42 +0000 (19:20 +0100)
commit894362f53164f93d609559e196378b4d0710c2dd
tree344a0132c55767f1f47844ef7c83c37877c83f3e
parent29f02646f0fa2b3c3a91f9145653e6a6ae8e7eb1
mfd: Refactor WM831x chip identification

Better support future device revisions by moving some of the output
around and making the chip ID enumeration be the value expected in
the ID register.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c