[PULL REQUEST] i2c for 5.2

From: Wolfram Sang
Date: Sat May 18 2019 - 07:06:40 EST


Linus,

here are some I2C core API additions which are kind of simple but
enhance error checking for users a lot, especially by returning errno
now. There are wrappers to still support the old API but it will be
removed once all users are converted.

This comes a bit later in a seperate pull request because of my recent
illness. It would be great to have it merged in this cycle, however, so
we can start converting the users (spread across many subsystems) right
away.

Thanks,

Wolfram


The following changes since commit a6a4b66bd8f41922c543f7a820c66ed59c25995e:

Merge tag 'for-linus-20190516' of git://git.kernel.dk/linux-block (2019-05-16 19:10:37 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next

for you to fetch changes up to b8f5fe3bc5b9318d95770a09a480c31aced20cd2:

i2c: core: add device-managed version of i2c_new_dummy (2019-05-17 19:29:40 +0200)

----------------------------------------------------------------
Heiner Kallweit (2):
i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy
i2c: core: add device-managed version of i2c_new_dummy


with much appreciated quality assurance from
----------------------------------------------------------------
Bartosz Golaszewski (2):
(Rev.) i2c: core: add device-managed version of i2c_new_dummy
(Rev.) i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy

Kieran Bingham (2):
(Rev.) i2c: core: add device-managed version of i2c_new_dummy
(Rev.) i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy

Peter Rosin (2):
(Rev.) i2c: core: add device-managed version of i2c_new_dummy
(Rev.) i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy

Documentation/driver-model/devres.txt | 3 +
drivers/i2c/i2c-core-base.c | 118 ++++++++++++++++++++++++++++++----
include/linux/i2c.h | 3 +
3 files changed, 111 insertions(+), 13 deletions(-)

Attachment: signature.asc
Description: PGP signature