mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
ed68052226
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> |
||
---|---|---|
.. | ||
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 |