summaryrefslogtreecommitdiff
path: root/include/mpc85xx.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-11 22:06:49 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 10:27:24 +0800
commit532f2435cfe94e54e01ba68572daa853d7752afa (patch)
tree2ad2439fe2a930b8a9cf3b48967f4428b014ae41 /include/mpc85xx.h
parentd74d6b444c9f1596c24d492e57af9423efbd113b (diff)
downloadu-boot-imx-532f2435cfe94e54e01ba68572daa853d7752afa.zip
u-boot-imx-532f2435cfe94e54e01ba68572daa853d7752afa.tar.gz
u-boot-imx-532f2435cfe94e54e01ba68572daa853d7752afa.tar.bz2
syscon: Avoid returning a device on failure
If the device cannot be probed, syscon_get_by_driver_data() will still return a useful value in its devp parameter. Ensure that it returns NULL instead. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/mpc85xx.h')
0 files changed, 0 insertions, 0 deletions