]> Git Repo - linux.git/commit
spi: add of_device_uevent_modalias support
authorMarco Felsch <[email protected]>
Tue, 25 May 2021 09:10:03 +0000 (11:10 +0200)
committerMark Brown <[email protected]>
Tue, 15 Jun 2021 10:43:16 +0000 (11:43 +0100)
commit3ce6c9e2617ebc09b2d55cc88134b90c19ff6d31
treefc5c8fe21a83841cdb3239d15775394a03dd75f5
parentb2d501c13470409ee7613855b17e5e5ec4111e1c
spi: add of_device_uevent_modalias support

Add OF support as already done for ACPI to take driver
MODULE_DEVICE_TABLE(of, ..) into account.

For example with this change a spi nor device MODALIAS changes from:

MODALIAS=spi:spi-nor

to

MODALIAS=of:Nspi-flashT(null)Cjedec,spi-nor

Signed-off-by: Marco Felsch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
drivers/spi/spi.c
This page took 0.056094 seconds and 4 git commands to generate.