OSDN Git Service

spi: update modalias_show after of_device_uevent_modalias support
authorAndreas Schwab <schwab@suse.de>
Thu, 22 Jul 2021 13:48:45 +0000 (15:48 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 22 Jul 2021 15:02:23 +0000 (16:02 +0100)
commite09f2ab8eecc6dcbd7013a1303cbe56b00dc9fb0
tree12ac6a1e8f74bc780d528c44a46188a03a20b778
parent8311ee2164c5cd1b63a601ea366f540eae89f10e
spi: update modalias_show after of_device_uevent_modalias support

Commit 3ce6c9e2617e ("spi: add of_device_uevent_modalias support") is
incomplete, as it didn't update the modalias_show function to generate the
of: modalias string if available.

Fixes: 3ce6c9e2617e ("spi: add of_device_uevent_modalias support")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Link: https://lore.kernel.org/r/mvmwnpi4fya.fsf@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c