aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/drm_probe_helper.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2020-03-16 17:39:07 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2020-05-17 21:29:41 +0100
commita519f6d03f4c497d02c7915fc33eb2b194ee048d (patch)
tree5d7b2ca2b8037d7ab97ef1c7a76dc6804f378dd0 /drivers/gpu/drm/drm_probe_helper.c
parentdrm: encoder_slave: fix refcouting error for modules (diff)
downloadwireguard-linux-a519f6d03f4c497d02c7915fc33eb2b194ee048d.tar.xz
wireguard-linux-a519f6d03f4c497d02c7915fc33eb2b194ee048d.zip
drm: encoder_slave: use new I2C API
i2c_new_client() is deprecated, use the replacement i2c_new_client_device(). Also, we have a helper to check if a driver is bound. Use it to simplify the code. Note that this changes the errno for a failed device creation from ENOMEM to ENODEV. No callers currently interpret this errno, though, so we use this condensed error check. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200316163907.13709-3-wsa+renesas@sang-engineering.com
Diffstat (limited to 'drivers/gpu/drm/drm_probe_helper.c')
0 files changed, 0 insertions, 0 deletions