regulator: wm8994: Use main I2C device as struct device
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 May 2012 16:45:31 +0000 (17:45 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 May 2012 17:41:07 +0000 (18:41 +0100)
commit5d0526eade515d29769c46bc522055fa17cc536e
tree38432137044cff04f8e7211506d0450987b304a2
parent2935fb18aa1e75e6afaab3303cdd1a4ac62be63e
regulator: wm8994: Use main I2C device as struct device

This makes logging a bit clearer as it gives the actual bus location and
makes things like board hookup a bit smoother.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/wm8994-regulator.c