linux_dsm_epyc7002/Documentation/i2c
Wolfram Sang ed68052226 i2c: convert SMBus alert setup function to return an ERRPTR
Only few drivers use this call, so drivers and I2C core are converted at
once with this patch. By simply using i2c_new_client_device() instead of
i2c_new_device(), we easily can return an ERRPTR for this function as
well. To make out of tree users aware that something changed, the
function is renamed to i2c_new_smbus_alert_device().

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2020-03-10 12:19:52 +01:00
..
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
i2c.svg
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