ipmi: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Thu, 24 Mar 2022 17:11:59 +0000 (18:11 +0100)
committerCorey Minyard <cminyard@mvista.com>
Thu, 12 May 2022 15:00:03 +0000 (10:00 -0500)
commit0924c5a0cbed5831a2a0ff2f9a19692265f1ab92
tree2a272c56078b5bc7759fead5d14a878ec8997e0b
parentd5d91586beda89b204dd1956a27e3ed2309ea995
ipmi: 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>
Message-Id: <20220324171159.544565-1-steve@sk2.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/char/ipmi/ipmb_dev_int.c
drivers/char/ipmi/ipmi_ipmb.c
drivers/char/ipmi/ipmi_ssif.c