OSDN Git Service

media: marvell-ccic: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 26 Mar 2020 21:09:43 +0000 (22:09 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 09:31:16 +0000 (11:31 +0200)
commit03c87596b71a63cd62afe738666017857ead5fdb
tree53e4e3e7b18d1c76a1f739d0f6d3c4cae3bb5282
parentb041cb6362db77bb60e9dda0b89ec653ed2cc4f0
media: marvell-ccic: convert to use i2c_new_client_device()

Move away from the deprecated API and return the shiny new ERRPTR where
useful.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/marvell-ccic/cafe-driver.c