Regulators: tps65023-regulator - mark probe method as __devinit
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Feb 2010 07:38:06 +0000 (23:38 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 3 Mar 2010 14:49:27 +0000 (14:49 +0000)
commit54d13ab1038911249fc5769efee87fed000623c0
treecd0e4b3bc8be562f9bb0ca1c852c54973a672a3f
parent24c29020bac8a35729e1f58270b3622abc2941a2
Regulators: tps65023-regulator - mark probe method as __devinit

Also move error handling in probe() out of line and do not bother
to reset fields in structures that are about to be freed.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/tps65023-regulator.c