diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-19 11:47:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-19 11:47:03 -0700 |
commit | f23d8719e76fd32828ae6f1b55e4659144467742 (patch) | |
tree | 7ddb9a4fbbc029d37f718235a0deb54e78d829e1 /Documentation | |
parent | c4d36b63b28b76cd584bec48af7b562b4513b87b (diff) | |
parent | b8f5fe3bc5b9318d95770a09a480c31aced20cd2 (diff) | |
download | linux-stable-f23d8719e76fd32828ae6f1b55e4659144467742.tar.gz linux-stable-f23d8719e76fd32828ae6f1b55e4659144467742.tar.bz2 linux-stable-f23d8719e76fd32828ae6f1b55e4659144467742.zip |
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c updates from Wolfram Sang:
"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"
* 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: core: add device-managed version of i2c_new_dummy
i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-model/devres.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 99994a461359..69c7fa7f616c 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -271,6 +271,9 @@ GPIO devm_gpio_request_one() devm_gpio_free() +I2C + devm_i2c_new_dummy_device() + IIO devm_iio_device_alloc() devm_iio_device_free() |