diff options
author | Brian Masney <masneyb@onstation.org> | 2019-08-14 20:48:47 -0400 |
---|---|---|
committer | Andrzej Hajda <a.hajda@samsung.com> | 2019-09-16 11:17:00 +0200 |
commit | 2f932367d219ad4ce56278035a1ee1ca03c48308 (patch) | |
tree | 079fdc7287ce4c88ef4554db2a4f634cfaf50d0c /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | |
parent | 2708e876272d89bbbff811d12834adbeef85f022 (diff) | |
download | linux-2f932367d219ad4ce56278035a1ee1ca03c48308.tar.bz2 |
drm/bridge: analogix-anx78xx: convert to i2c_new_dummy_device
The i2c_new_dummy() function is deprecated since it returns NULL on
error. Change this to use the recommended replacement
i2c_new_dummy_device() that returns an error code that can be read with
PTR_ERR() and friends.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190815004854.19860-5-masneyb@onstation.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h')
0 files changed, 0 insertions, 0 deletions