media: pci: cx23885: cx23885-dvb: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 16 Dec 2019 15:51:33 +0000 (16:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 9 Jan 2020 15:01:10 +0000 (16:01 +0100)
commit0ace5b2e6e03c6429ad6fc7afa4bfd51cc0ac925
tree3ee4655fbe062f04587b9f8758467847fcc9007d
parent2f507ffa9ca59535b204f43ec793e5c96394c4f4
media: pci: cx23885: cx23885-dvb: convert to use i2c_new_client_device()

Use the newer API returning an ERRPTR and use the new helper to bail
out.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/cx23885/cx23885-dvb.c