diff options
author | Wei Yongjun <[email protected]> | 2016-08-13 01:26:26 +0000 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2016-08-30 11:36:58 +0300 |
commit | 763e6366f3700e2f34a94e71bfec67dea7e37b68 (patch) | |
tree | 9fc04d926ce0ff4e29adfe7fe50ba0a5e13c48a6 /scripts/gdb/linux/lists.py | |
parent | 1121a418b2083038e9981ab9e2401db9fb8fdd7e (diff) |
video: ARM CLCD: fix return value check in versatile_clcd_init_panel()
In case of error, the function syscon_node_to_regmap() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes: 25348160e9a4 ("video: ARM CLCD: add special panel hook for Versatiles")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions