mfd: Fix tps65910 section annotations
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 May 2012 09:03:19 +0000 (10:03 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 7 May 2012 09:32:08 +0000 (11:32 +0200)
commit63745d4068de8ccea3580214c6dbfdca0ec37859
treecc684ed93ef655c307d9a4acedfafa388a433cce
parentb6c9eeef4e775e1fff76f4395d11638dc198271d
mfd: Fix tps65910 section annotations

A warning was being generated by the reference from tps65910_i2c_probe()
to tps65910_sleepinit() since the latter was annotated as __init but the
former was unannotated. Since these functions can only be called during
device init make them both __devinit, and while we're at it also annotate
tps65910_i2c_remove() __devexit for symmetry.

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