regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe
authorAxel Lin <axel.lin@gmail.com>
Tue, 29 Mar 2011 09:54:58 +0000 (17:54 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:36 +0000 (10:34 +0100)
commitf0f060bdd55e36adff4cc80b2a4ed026774db7a9
tree6a2d546d7ac2c22c029c0ef49c563d0df6f088c6
parent2c6082341d1896218ca974cc2bb6876e36fcba5c
regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe

Otherwise, calling platform_get_drvdata in tps6105x_regulator_remove
returns NULL.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/tps6105x-regulator.c