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: NStephen Kitt <steve@sk2.org>
Acked-by: NWolfram Sang <wsa@kernel.org>
Reviewed-by: NLuca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200807152713.381588-1-steve@sk2.org
Showing
想要评论请 注册 或 登录