Skip to content
Commit 79e3b4c7 authored by lizhe's avatar lizhe Committed by Ulf Hansson
Browse files

mmc: core: Remove redundant driver match function



If there is no driver match function, the driver core assumes that each
candidate pair (driver, device) matches, see driver_match_device().

Drop the mmc bus's match function that always returned 1 and so implements
the same behaviour as when there is no match function.

Signed-off-by: default avatarlizhe <sensor1010@163.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211207095029.96387-1-sensor1010@163.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 4df297aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment