From: Axel Lin Date: Sat, 27 Apr 2013 05:58:08 +0000 (+0800) Subject: regulator: Remove NULL test before calling regulator_unregister() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020501f1a0911af70873e4d3d122b2e1889ccd03;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed