diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-03-18 15:18:10 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2018-03-28 23:30:31 +0200 |
commit | fca10453cf51a34ddd0e6bf9c509cdabaa3d1f85 (patch) | |
tree | d5839d77d435584a4e1f3082fead690de044817a /drivers/gpio/pic32_gpio.c | |
parent | e56a713eac9ae18305e2c6d99cbd5887f256d91a (diff) |
video: rk3399_mipi: correct error checking
Pointers are never negative. Use macro IS_ERR() for checking.
cf. rk3288_mipi.c
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/gpio/pic32_gpio.c')
0 files changed, 0 insertions, 0 deletions