OSDN Git Service

media: usb: dvb-usb: dib0700_devices: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 16 Dec 2019 15:51:41 +0000 (16:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 9 Jan 2020 15:05:49 +0000 (16:05 +0100)
commit6e040e6f8f8b9429d861808244e1c451138a56e2
tree8c1bf9ec1db3c162e8367eea5f26ec9536aa438e
parent3dd0121269b238c13ae077a056113ee009affd18
media: usb: dvb-usb: dib0700_devices: 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/usb/dvb-usb/dib0700_devices.c