Re: [PATCH] drivers/mmc/core/bus: Remove redundant driver match function

From: Uwe Kleine-König
Date: Tue Dec 07 2021 - 08:05:57 EST


On Tue, Dec 07, 2021 at 01:50:29AM -0800, lizhe wrote:
> If there is no driver match function, the driver core assumes
> that each candidate pair (driver, device) matches. See function
> 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: lizhe <sensor1010@xxxxxxx>

Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

If you want to make it easier for maintainers to take your patches,
consider using -v2 for git send-email (or git format-patch) the next
time.

Best regards and thanks
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature