OSDN Git Service

media: dvb-frontends: cxd2820r_core: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 16 Dec 2019 15:51:29 +0000 (16:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 9 Jan 2020 14:58:09 +0000 (15:58 +0100)
commit13e54824fe5bf1e3956b56f878e2cd3c5b89c0fb
tree7913fc205093edc313d4bed6e7f283dfb737ea8f
parentd928440cf4603b4889af3e6785d9200a626ae0ce
media: dvb-frontends: cxd2820r_core: 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-frontends/cxd2820r_core.c