]> asedeno.scripts.mit.edu Git - linux.git/commit
media: i2c: smiapp: Convert to new i2c device probe()
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Wed, 10 Jul 2019 21:51:46 +0000 (18:51 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 13 Aug 2019 14:52:24 +0000 (11:52 -0300)
commitc1042d62fe05cffd5fa314790f54ec2f53443107
tree25b063d3d22ed476c41bb4c4f51b182363807962
parent5e56808900a7bc8838dcc561d464cf5c2c9a2bd1
media: i2c: smiapp: 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/i2c/smiapp/smiapp-core.c