Commit 5c076fce authored by David Brownell's avatar David Brownell Committed by Linus Torvalds

rtc-max6902 minor fixes

Minor tweaks to rtc-max6902: make it hotplug correctly, and fix a few
space-before-tab whitespace botches.  This driver has no current in-tree
users, so the hotplug fix changes the driver name.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a2f92ee7
...@@ -259,7 +259,7 @@ static int __devexit max6902_remove(struct spi_device *spi) ...@@ -259,7 +259,7 @@ static int __devexit max6902_remove(struct spi_device *spi)
static struct spi_driver max6902_driver = { static struct spi_driver max6902_driver = {
.driver = { .driver = {
.name = "max6902", .name = "rtc-max6902",
.bus = &spi_bus_type, .bus = &spi_bus_type,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment