linux-sg2042/drivers/media
Wolfram Sang af80559b4d i2c: replace i2c_new_secondary_device with an ERR_PTR variant
In the general move to have i2c_new_*_device functions which return
ERR_PTR instead of NULL, this patch converts i2c_new_secondary_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_ancillary_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: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> # adv748x
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> # adv7511 + adv7604
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # adv7604
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-08-14 14:54:55 +02:00
..
cec media: cec-notifier: add new notifier functions 2019-06-27 07:19:43 -04:00
common media: media/pci: set device_caps in struct video_device 2019-06-24 14:57:12 -04:00
dvb-core media: dvb_frontend: split dvb_frontend_handle_ioctl function 2019-06-27 07:24:12 -04:00
dvb-frontends Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-07-11 10:55:49 -07:00
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i2c i2c: replace i2c_new_secondary_device with an ERR_PTR variant 2019-08-14 14:54:55 +02:00
mc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
platform media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
radio media: radio-raremono: change devm_k*alloc to k*alloc 2019-06-27 07:35:24 -04:00
rc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-07-11 10:55:49 -07:00
spi Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
tuners media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
usb It's been a relatively busy cycle for docs: 2019-07-09 12:34:26 -07:00
v4l2-core media updates for v5.3-rc1 2019-07-22 09:01:47 -07:00
Kconfig media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00