aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-06-13 23:31:47 +0000
committerKishon Vijay Abraham I <[email protected]>2016-06-17 18:44:24 +0530
commit075adb8046532d9642f411a92b4f385d04ced24d (patch)
treea003284df5f05bf9f11c341096a9b7aefa733e28 /drivers/fpga/fpga-mgr.c
parent6762925df4642aec5629f7971ba477d6930f53f7 (diff)
phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe()
In case of error, the function devm_kzalloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions