aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/sunxi.txt
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2013-06-25 14:18:14 +0900
committerAnton Vorontsov <anton@enomsg.org>2013-06-28 18:37:03 -0700
commit5a6c2208455f25b3e6f939adc2da59aa00d4806e (patch)
treeecde95c291fb8598cfadf24f5245d406abfbc51c /Documentation/devicetree/bindings/clock/sunxi.txt
parentcharger-manager: Fix a bug when it unregisters notifier block of extcon (diff)
downloadlinux-dev-5a6c2208455f25b3e6f939adc2da59aa00d4806e.tar.xz
linux-dev-5a6c2208455f25b3e6f939adc2da59aa00d4806e.zip
charger-manager: Fix regulator_get() return check
This patch fixes return value checking of regulator_get() in charger-manager driver. The API, regulator_get(), returns ERR_PTR() when it fails to get regulator with given name, not NULL. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/sunxi.txt')
0 files changed, 0 insertions, 0 deletions