media: dvb-frontends: ts2020: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 16 Dec 2019 15:51:32 +0000 (16:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 9 Jan 2020 15:00:13 +0000 (16:00 +0100)
commit2f507ffa9ca59535b204f43ec793e5c96394c4f4
tree338a862486c3b20a8f68404fba934d6de80ddca3
parentaace5926d9699e1f183f2b2881748fe5b233c51c
media: dvb-frontends: ts2020: 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/ts2020.c