nfc: st-nci: Convert to i2c's .probe_new()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 23 Nov 2022 04:55:06 +0000 (20:55 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Nov 2022 20:50:08 +0000 (12:50 -0800)
commit75cc560ff661ee05ab261c92dc158471e48efdd3
tree87c7972b5992c7b0c6a98a4727247f5ff75c34bb
parent0fc00c085d71b2777b91b6db22afd35ddab4c0c7
nfc: st-nci: Convert to i2c's .probe_new()

The probe function doesn't make use of the i2c_device_id * parameter so it
can be trivially converted.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/st-nci/i2c.c