firmware: arm_scmi: Simplify device probe function on the bus
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 24 Jun 2021 09:50:58 +0000 (10:50 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 12 Jul 2021 13:16:18 +0000 (14:16 +0100)
commit38e0c99249f8f12e1450234a0f7fb357a1b73843
treea91bc9ec2e8f7eee26546cd5f9a88867ed0b48ce
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
firmware: arm_scmi: Simplify device probe function on the bus

When the driver core calls the probe callback it already checked that
the devices match, so there is no need to call the match callback again.

Link: https://lore.kernel.org/r/20210624095059.4010157-1-sudeep.holla@arm.com
Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Cristian Marussi <cristian.marussi@arm.com>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/bus.c