Skip to content

Commit

Permalink
rtc-max6902 minor fixes
Browse files Browse the repository at this point in the history
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: David Brownell <dbrownell@users.sourceforge.net>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Brownell authored and Linus Torvalds committed Aug 23, 2007
1 parent a2f92ee commit 5c076fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/rtc/rtc-max6902.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* 24-May-2006: Raphael Assenat <raph@8d.com>
* - Major rework
* Converted to rtc_device and uses the SPI layer.
* Converted to rtc_device and uses the SPI layer.
*
* ??-???-2005: Someone at Compulab
* - Initial driver creation.
Expand Down Expand Up @@ -259,11 +259,11 @@ static int __devexit max6902_remove(struct spi_device *spi)

static struct spi_driver max6902_driver = {
.driver = {
.name = "max6902",
.name = "rtc-max6902",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = max6902_probe,
.probe = max6902_probe,
.remove = __devexit_p(max6902_remove),
};

Expand Down

0 comments on commit 5c076fc

Please sign in to comment.