diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-09-22 19:46:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:43 -0400 |
commit | e0626e3844e8f430fc1a4417f523a00797df7ca6 (patch) | |
tree | 15e62abad725200b3c6ad2462f268c3df09ed711 /drivers/hwmon | |
parent | 8cec03eee4a771f949c70cff07775c9bb21d4642 (diff) |
spi: prefix modalias with "spi:"
This makes it consistent with other buses (platform, i2c, vio, ...). I'm
not sure why we use the prefixes, but there must be a reason.
This was easy enough to do it, and I did it.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Samuel Ortiz <sameo@openedhand.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Acked-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/lis3lv02d_spi.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/max1111.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/lis3lv02d_spi.c b/drivers/hwmon/lis3lv02d_spi.c index 82ebca5a699c..ecd739534f6a 100644 --- a/drivers/hwmon/lis3lv02d_spi.c +++ b/drivers/hwmon/lis3lv02d_spi.c | |||
@@ -139,4 +139,4 @@ module_exit(lis302dl_exit); | |||
139 | MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); | 139 | MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); |
140 | MODULE_DESCRIPTION("lis3lv02d SPI glue layer"); | 140 | MODULE_DESCRIPTION("lis3lv02d SPI glue layer"); |
141 | MODULE_LICENSE("GPL"); | 141 | MODULE_LICENSE("GPL"); |
142 | 142 | MODULE_ALIAS("spi:" DRV_NAME); | |
diff --git a/drivers/hwmon/max1111.c b/drivers/hwmon/max1111.c index bfaa665ccf32..9ac497271adf 100644 --- a/drivers/hwmon/max1111.c +++ b/drivers/hwmon/max1111.c | |||
@@ -242,3 +242,4 @@ module_exit(max1111_exit); | |||
242 | MODULE_AUTHOR("Eric Miao <eric.miao@marvell.com>"); | 242 | MODULE_AUTHOR("Eric Miao <eric.miao@marvell.com>"); |
243 | MODULE_DESCRIPTION("MAX1111 ADC Driver"); | 243 | MODULE_DESCRIPTION("MAX1111 ADC Driver"); |
244 | MODULE_LICENSE("GPL"); | 244 | MODULE_LICENSE("GPL"); |
245 | MODULE_ALIAS("spi:max1111"); | ||