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
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* *
* 24-May-2006: Raphael Assenat <raph@8d.com> * 24-May-2006: Raphael Assenat <raph@8d.com>
* - Major rework * - Major rework
* Converted to rtc_device and uses the SPI layer. * Converted to rtc_device and uses the SPI layer.
* *
* ??-???-2005: Someone at Compulab * ??-???-2005: Someone at Compulab
* - Initial driver creation. * - Initial driver creation.
...@@ -259,11 +259,11 @@ static int __devexit max6902_remove(struct spi_device *spi) ...@@ -259,11 +259,11 @@ 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,
}, },
.probe = max6902_probe, .probe = max6902_probe,
.remove = __devexit_p(max6902_remove), .remove = __devexit_p(max6902_remove),
}; };
......
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