Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: media: convert to use i2c_new_client_device()

Move away from the deprecated API and advertise the new one.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>

authored by

Wolfram Sang and committed by
Wolfram Sang
bc5a3e44 9e1b93b9

+2 -2
+1 -1
Documentation/driver-api/media/v4l2-subdev.rst
··· 451 451 "module_foo", "chipid", 0x36, NULL); 452 452 453 453 This loads the given module (can be ``NULL`` if no module needs to be loaded) 454 - and calls :c:func:`i2c_new_device` with the given ``i2c_adapter`` and 454 + and calls :c:func:`i2c_new_client_device` with the given ``i2c_adapter`` and 455 455 chip/address arguments. If all goes well, then it registers the subdev with 456 456 the v4l2_device. 457 457
+1 -1
Documentation/userspace-api/media/conf_nitpick.py
··· 27 27 ("c:func", "copy_to_user"), 28 28 ("c:func", "determine_valid_ioctls"), 29 29 ("c:func", "ERR_PTR"), 30 - ("c:func", "i2c_new_device"), 30 + ("c:func", "i2c_new_client_device"), 31 31 ("c:func", "ioctl"), 32 32 ("c:func", "IS_ERR"), 33 33 ("c:func", "KERNEL_VERSION"),