media: i2c: et8ek8: Convert to new i2c device probe()
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Wed, 10 Jul 2019 21:51:48 +0000 (18:51 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 13 Aug 2019 14:53:02 +0000 (11:53 -0300)
commitbec5352d20d1a8c11d482fb079b553c00b7204ac
treecdaafaab303c5b48ba023ddd5c348e59174b3f81
parent42b66122151810c7b550dc185a2e3488104eaa3f
media: i2c: et8ek8: 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/et8ek8/et8ek8_driver.c