diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2021-12-22 08:33:48 +0000 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-01-04 15:30:11 +0100 |
commit | f5f05ddc37e0445567e4a2369b73ecf9ee2e187d (patch) | |
tree | 6de8b7ec1da909f6f6da7cf25eb800529e1f3dff /kernel/watchdog_hld.c | |
parent | 7020449b8f5ac0f7444a584645edec02f7168f1a (diff) |
drm/bridge: anx7625: Fix null vs IS_ERR() checking in anx7625_register_i2c_dummy_clients
Since i2c_new_client_device() function return error pointers.
The i2c_new_dummy_device() function does not return NULL, It returns error
pointers too. Using IS_ERR() to check the return value to fix this.
Fixes: 8bdfc5dae4e3("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211222083350.18514-1-linmq006@gmail.com
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Diffstat (limited to 'kernel/watchdog_hld.c')
0 files changed, 0 insertions, 0 deletions