regulator: Remove all platform_set_drvdata(pdev, NULL) in drivers
authorAxel Lin <axel.lin@ingics.com>
Fri, 3 May 2013 12:46:10 +0000 (20:46 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 12 May 2013 14:34:12 +0000 (18:34 +0400)
commit405c54009c85cf03d459f5880744b0d4ebb892e4
tree274cba389901c774ed0d2a9315469198205ff851
parentf722406faae2d073cc1d01063d1123c35425939e
regulator: Remove all platform_set_drvdata(pdev, NULL) in drivers

Since 0998d06310 "device-core: Ensure drvdata = NULL when no driver is bound",
this is done by driver core after device_release or on probe failure.
Thus we can remove all platform_set_drvdata(pdev, NULL) in drivers.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
15 files changed:
drivers/regulator/88pm8607.c
drivers/regulator/lp8788-buck.c
drivers/regulator/lp8788-ldo.c
drivers/regulator/max8925-regulator.c
drivers/regulator/mc13783-regulator.c
drivers/regulator/mc13892-regulator.c
drivers/regulator/pcap-regulator.c
drivers/regulator/pcf50633-regulator.c
drivers/regulator/tps65217-regulator.c
drivers/regulator/virtual.c
drivers/regulator/wm831x-dcdc.c
drivers/regulator/wm831x-isink.c
drivers/regulator/wm831x-ldo.c
drivers/regulator/wm8400-regulator.c
drivers/regulator/wm8994-regulator.c