]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
universal_c210: check the NULL pointer when get the PMIC
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 10 Dec 2012 13:43:57 +0000 (22:43 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 11 Dec 2012 08:37:28 +0000 (17:37 +0900)
commitfbef8e6e7f1233ed20f8c5045e12c9cf31b43540
treea7ca3a4084d7e250d0c159f4c3c81977091ad948
parent211e8438cf61df1e2a53b6b979a8e4224158d5dc
universal_c210: check the NULL pointer when get the PMIC

PMIC 2.0 require to test return pointer from pmic_get()

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
board/samsung/universal_c210/universal.c