Regulators: max8925-regulator - clean up driver data after removal
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Feb 2010 07:38:55 +0000 (23:38 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 22 Mar 2010 19:44:44 +0000 (19:44 +0000)
commit3fff6c04d81a2852821135736fad2d8386464753
treeefd6c0dfab6f17429b76ab6f9c121f2b8a1e71f4
parent220bf991b0366cc50a94feede3d7341fa5710ee4
Regulators: max8925-regulator - clean up driver data after removal

It is a good tone to reset driver data after unbinding the device.
Also change find_regulator_info() fro inline to __devinit - let compiler
figure out if it wants it to be inlined or not.

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/max8925-regulator.c