powerpc: Use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Fri, 7 Aug 2020 15:27:13 +0000 (17:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:20 +0000 (11:00 +1000)
commit6c9100ea39d209e1625ba0fe06134192d9c4752a
tree4d35d7e19192ff5f0b4a430747b63c331ae7a438
parent5d1bc776428f34941a6237afb9454061b5b5e1e1
powerpc: 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.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Acked-by: Wolfram Sang <wsa@kernel.org>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200807152713.381588-1-steve@sk2.org
arch/powerpc/platforms/44x/ppc476.c
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c