regulator: Factor out references to rdev in regulator_force_disable()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 May 2011 09:41:02 +0000 (11:41 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:37 +0000 (10:34 +0100)
commit82d158397b6eeb464263a6ef6a739c4118a34720
tree95fb5c55f74900f424a62d20ba68efcbc182fab4
parent7ce8a2a05f249054e6bce109a15ee188b4124256
regulator: Factor out references to rdev in regulator_force_disable()

Don't go looking up the rdev pointer every time, just use a local variable
like everything else.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c