]> git.baikalelectronics.ru Git - kernel.git/commit
Regulators: ab3100 - fix probe and remove annotations
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Feb 2010 07:37:50 +0000 (23:37 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 3 Mar 2010 14:49:27 +0000 (14:49 +0000)
commit7f336583d353658f19032fd113963b480914d6bb
tree2513879c8a4cb53267bb92e2be362ca244667bc1
parentd3ea3d2a914aec58ac127c0d635a7471cad6e796
Regulators: ab3100 - fix probe and remove annotations

Probe and remove methods should not be marked as __init/__exit but
rather __devinit/__devexit so that the needed sections stay in memory
in presence of CONFIG_HOTPLUG. This is needed even on non hotpluggable
buses.

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/ab3100.c