OSDN Git Service

media: radio: si4713: Convert to new i2c device probe()
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Wed, 10 Jul 2019 21:51:44 +0000 (18:51 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 13 Aug 2019 14:51:50 +0000 (11:51 -0300)
commit7bb823a6522afb03acbb117fd0d67ed5b7013bed
tree4677b2fb4f6efad8ba6ab0cca128a2a9d637afe8
parent9deff920bd184f167db98635b16668602ec4d2f5
media: radio: si4713: Convert to new i2c device probe()

The I2C core framework provides a simplified probe framework from commit
b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type").

This driver does not utilise the i2c_device_id table in the probe, so we can
easily convert it to utilise the simplified i2c driver registration.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/radio/si4713/si4713.c