regulator: Remove NULL test before calling regulator_unregister()
authorAxel Lin <axel.lin@ingics.com>
Sat, 27 Apr 2013 05:58:08 +0000 (13:58 +0800)
committerMark Brown <broonie@sirena.org.uk>
Sun, 28 Apr 2013 01:11:19 +0000 (02:11 +0100)
commit020501f1a0911af70873e4d3d122b2e1889ccd03
tree0a5692eb87cfaf0b7ec46ac845a1d79a9fd576d8
parent1e4b545cdd93318379c6b1fb0a99536fa3260f53
regulator: Remove NULL test before calling regulator_unregister()

It's safe to call regulator_unregister() with NULL, thus remove the NULL test
before regulator_unregister() calls.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>
drivers/regulator/max1586.c
drivers/regulator/max8649.c
drivers/regulator/max8660.c
drivers/regulator/s5m8767.c
drivers/regulator/tps6524x-regulator.c