[PATCH] arch/powerpc: use simple i2c probe function

Wolfram Sang wsa at kernel.org
Mon Aug 10 19:36:19 AEST 2020


On Fri, Aug 07, 2020 at 05:27:13PM +0200, Stephen Kitt wrote:
> 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 at sk2.org>

This is useful, helps deprecating the old probe method:

Acked-by: Wolfram Sang <wsa at kernel.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200810/b8c69792/attachment-0001.sig>


More information about the Linuxppc-dev mailing list