mfd: arizona: Factor out register polling
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 17:38:45 +0000 (17:38 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Apr 2013 13:21:01 +0000 (15:21 +0200)
commit9d53dfdc82503b819f7b854e627a555cc65224e3
tree2f998c3f2d1dfda42b6d90fc26afe41366e9f9be
parent4c9bb8bc352a14c9613c77bc3f1e9038cd086b9b
mfd: arizona: Factor out register polling

Factor out the polling of the interrupt status register whilst we wait
for boot done to allow the polling to be reused in other situations.

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