OSDN Git Service

media: dvb-core: dvbdev: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 16 Dec 2019 15:51:28 +0000 (16:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 9 Jan 2020 14:57:46 +0000 (15:57 +0100)
commitd928440cf4603b4889af3e6785d9200a626ae0ce
tree3c43ba37f367d31ea4ea7da36efcedf9c18d74b1
parent0caf62c8df8d59c5c367405e3163735478292706
media: dvb-core: dvbdev: 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/dvb-core/dvbdev.c