linux/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 i2c: parport-light: remove driver 2020-01-15 18:18:34 +01:00
muxes docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
dev-interface.rst docs: i2c: rename sections so the overall picture is clearer 2020-01-29 22:02:06 +01:00
dma-considerations.rst docs: i2c: call it "I2C" consistently 2020-01-29 22:01:24 +01:00
fault-codes.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
functionality.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
gpio-fault-injection.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
i2c-protocol.rst docs: i2c: i2c-protocol: use same wording as smbus-protocol 2020-01-29 22:02:07 +01:00
i2c-stub.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
i2c-topology.rst docs: i2c: rename sections so the overall picture is clearer 2020-01-29 22:02:06 +01:00
i2c.svg docs: i2c: summary: rewrite the "terminology" section 2020-01-29 22:01:16 +01:00
index.rst docs: i2c: sort index logically 2020-01-29 22:01:12 +01:00
instantiating-devices.rst docs: i2c: instantiating-devices: use monospace for sysfs attributes 2020-01-29 22:01:54 +01:00
old-module-parameters.rst docs: i2c: rename sections so the overall picture is clearer 2020-01-29 22:02:06 +01:00
slave-eeprom-backend.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
slave-interface.rst docs: i2c: call it "I2C" consistently 2020-01-29 22:01:24 +01:00
smbus-protocol.rst i2c: convert SMBus alert setup function to return an ERRPTR 2020-03-10 12:19:52 +01:00
summary.rst docs: i2c: rename sections so the overall picture is clearer 2020-01-29 22:02:06 +01:00
ten-bit-addresses.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
upgrading-clients.rst docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
writing-clients.rst docs: i2c: writing-clients: properly name the stop condition 2020-01-29 22:02:09 +01:00