rtc: make rtc-ds1742 driver hotplug-aware
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 16 Oct 2007 08:28:18 +0000 (01:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:13 +0000 (09:43 -0700)
commita95e23a27b33db5d5f40278b16a42e5e20188015
treefac6e7b1d72f390b6c2c3de9e2020acc6c16563c
parente7634c271a1cb460ba3a09b47ecc246c11a66cee
rtc: make rtc-ds1742 driver hotplug-aware

The rtc-ds1742 platform driver name doesn't match its module name,
which might prevents it from properly hotplugging.  There is only two
in-tree user of its driver, which are fixed by this patch too.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/jmr3927/rbhma3100/setup.c
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
drivers/rtc/rtc-ds1742.c