mfd: Fix tps65910 section annotations
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 May 2012 09:03:19 +0000 (10:03 +0100)
committerSimone Willett <swillett@nvidia.com>
Mon, 4 Jun 2012 21:21:03 +0000 (14:21 -0700)
commit30d1e63baee88c54c4093279b8653682a11cbaca
treef9de5c922ab119a9c95114eeb09b214ccabf3ac3
parent5650a157b1255dd53784a71d41946810a92ef804
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>
(cherry picked from commit 63745d4068de8ccea3580214c6dbfdca0ec37859)

Change-Id: I9e85e31e770c7ea68524d046b87036d6d0264523
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105921
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
drivers/mfd/tps65910.c