mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
c1d084759c
In the general move to have i2c_new_*_device functions which return ERR_PTR instead of NULL, this patch converts i2c_new_probed_device(). There are only few users, so this patch converts the I2C core and all users in one go. The function gets renamed to i2c_new_scanned_device() so out-of-tree users will get a build failure to understand they need to adapt their error checking code. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by: Max Staudt <max@enpas.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> |
||
---|---|---|
.. | ||
busses | ||
muxes | ||
dev-interface.rst | ||
dma-considerations.rst | ||
fault-codes.rst | ||
functionality.rst | ||
gpio-fault-injection.rst | ||
i2c-protocol.rst | ||
i2c-stub.rst | ||
i2c-topology.rst | ||
index.rst | ||
instantiating-devices.rst | ||
old-module-parameters.rst | ||
slave-eeprom-backend.rst | ||
slave-interface.rst | ||
smbus-protocol.rst | ||
summary.rst | ||
ten-bit-addresses.rst | ||
upgrading-clients.rst | ||
writing-clients.rst |