]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Regulators: tps6507x-regulator - mark probe method as __devinit
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Feb 2010 07:38:12 +0000 (23:38 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 3 Mar 2010 14:49:28 +0000 (14:49 +0000)
commit56c23492b2266fcbe38f26a3de217902c70a895b
tree83d53e7e1390a641babd0ada9e5c9dc65ef622c1
parent54d13ab1038911249fc5769efee87fed000623c0
Regulators: tps6507x-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/tps6507x-regulator.c