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)
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>

No differences found