]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78d8591c8ad4b8a593637c1651b5959420dbac7d
tree0a5692eb87cfaf0b7ec46ac845a1d79a9fd576d8
parent7048db13cf9c664b634ee52d022e76c6c3f92822
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