spi: Add "spi:" prefix to modalias attribute of spi devices
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 20 May 2012 06:08:13 +0000 (00:08 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 21 May 2012 02:14:48 +0000 (20:14 -0600)
commitd8e328b3bd65fdefc9c49a27ee80c28e0a44b653
tree2e84c82115893477753dabb4d882b50aa46815d9
parent1e8a52e18cfb381bc9cc1f0b720540364d2a6edd
spi: Add "spi:" prefix to modalias attribute of spi devices

The modalias attribute of spi devices doesn't have the "spi:" prefix
that is used in the UEVENT and in spi device drivers.  This patch adds
the prefix so the modprobe can correctly match modules to devices.

Reported-by: David Daney <david.daney@cavium.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c