mfd: Push byte swaps out of wm8994 bulk read path
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 Mar 2011 12:50:10 +0000 (12:50 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:42:11 +0000 (10:42 +0100)
commit316b6cc081b112546842d44ded21512bd8454a85
tree8159c62fb4e04cc98beef9a4c6543bbc7f502204
parent8bd4d7c4c500e88bff975bbcb7fe0d89da319cdd
mfd: Push byte swaps out of wm8994 bulk read path

For consistency with the write path push byte swaps of the WM8994 register
data out of the bulk read data path into the per-register APIs. The only
user of the bulk register read is the interrupt code which is updated to
do the swaps itself part of this patch.

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