ARM: davinci: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Sun, 9 Aug 2020 17:24:44 +0000 (19:24 +0200)
committerSekhar Nori <nsekhar@ti.com>
Thu, 3 Sep 2020 05:39:19 +0000 (11:09 +0530)
commit7de3f326dd24b5e2d514f9cf99968a20d13cf39f
tree40ae860806a0087270e68c80564c2f036bce9106
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
ARM: davinci: use simple i2c probe function

The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

Acked-by: Wolfram Sang <wsa@kernel.org>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/board-dm646x-evm.c