aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJonghwa Lee <[email protected]>2013-06-25 14:18:14 +0900
committerAnton Vorontsov <[email protected]>2013-06-28 18:37:03 -0700
commit5a6c2208455f25b3e6f939adc2da59aa00d4806e (patch)
treeecde95c291fb8598cfadf24f5245d406abfbc51c /fs/jbd2/commit.c
parent3cc9d26966ea02f71258ab0553ebd3388f40533a (diff)
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 <[email protected]> Signed-off-by: Myungjoo Ham <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions