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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Mon, Dec 06, 2021 at 08:50:38AM -0800, lizhe wrote:
> 	When the device and device driver are matching,
> 	if the device or the bus to which the device driver belongs
> 	does not provide a match function,
> 	then the device and device driver arae matched by default.

s/arae/are/, but maybe the overall wording could be improved. Something
like:

	drivers/mmc/core/bus: Remove redundant driver match function

	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.

Best regards
Uwe

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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux