https://github.com/torvalds/linux
Revision bb7d93fff62f32f4ff0072b2ace695bd5f5137e7 authored by Wolfram Sang on 15 June 2020, 07:58:11 UTC, committed by Wolfram Sang on 19 June 2020, 07:20:21 UTC
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>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent f78d403
History
Tip revision: bb7d93fff62f32f4ff0072b2ace695bd5f5137e7 authored by Wolfram Sang on 15 June 2020, 07:58:11 UTC
drm: encoder_slave: use new I2C API
Tip revision: bb7d93f
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.4 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 547.5 KB
Makefile -rw-r--r-- 60.6 KB
README -rw-r--r-- 727 bytes

README

back to top