linux/drivers/rtc
Paul Mundt e2bfe3424b rtc: rtc-rs5c372: fix up NULL name in transfer error path
rs5c_get_regs() currently uses rs5c->rtc->name for its debug printk when
i2c_transfer() fails, though it is used several times before the rtc dev
has been registered. The earliest we can get at the symbolic name is via
the i2c client's struct device, which can be handled by moving the first
rs5c_get_regs() until after the client pointer is assigned.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:17 -07:00
..
class.c RTC: periodic irq fix 2007-10-16 09:43:13 -07:00
hctosys.c rtc_hctosys expects RTCs in UTC (doc) 2007-11-14 18:45:36 -08:00
interface.c rtc: use class iteration api 2008-01-24 20:40:44 -08:00
Kconfig rtc: avoid legacy drivers with generic framework 2008-04-28 08:58:16 -07:00
Makefile rtc: add support for the S-35390A RTC chip 2008-03-04 16:35:09 -08:00
rtc-at32ap700x.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-at91rm9200.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-at91sam9.c rtc-at91sam9 fixes 2008-03-19 18:53:37 -07:00
rtc-bfin.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-cmos.c rtc: fix the error in the function of cmos_set_alarm 2008-04-15 19:35:40 -07:00
rtc-core.h rtc: update to class device removal patches 2007-05-08 11:15:18 -07:00
rtc-dev.c rtc-cmos alarm acts as oneshot 2008-02-06 10:41:13 -08:00
rtc-ds1216.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1302.c rtc: ds1302 rtc support 2008-02-06 10:41:13 -08:00
rtc-ds1307.c rtc ds1307: ds_1340 change init 2008-02-06 10:41:14 -08:00
rtc-ds1374.c rtc: RTC class driver for the ds1374 2007-10-16 09:43:13 -07:00
rtc-ds1511.c make ds1511_rtc_{read,set}_time() static 2008-04-28 08:58:16 -07:00
rtc-ds1553.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ds1672.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-ds1742.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-ep93xx.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-isl1208.c rtc-isl1208: new style conversion and minor bug fixes 2008-04-28 08:58:16 -07:00
rtc-lib.c revert "rtc: Add rtc_merge_alarm()" 2007-05-08 11:15:18 -07:00
rtc-m41t80.c correct name for rtc-m41t80 2007-08-22 19:52:45 -07:00
rtc-m48t59.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-m48t86.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-max6900.c i2c: normal_i2c can be made const (rtc drivers) 2008-01-27 18:14:47 +01:00
rtc-max6902.c spi: use simplified spi_sync() calling convention 2007-12-05 09:21:19 -08:00
rtc-omap.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-pcf8563.c rtc-pcf8563: new style conversion 2008-04-28 08:58:16 -07:00
rtc-pcf8583.c rtc-pcf8583 build fix 2008-04-28 08:58:16 -07:00
rtc-pl031.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
rtc-proc.c rtc: remove rest of class_device 2007-05-08 11:15:18 -07:00
rtc-r9701.c rtc-r9701.c: silence compiler warning 2008-02-09 23:27:01 -08:00
rtc-rs5c313.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-rs5c348.c [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware 2007-08-27 02:16:58 +01:00
rtc-rs5c372.c rtc: rtc-rs5c372: fix up NULL name in transfer error path 2008-04-28 08:58:17 -07:00
rtc-s3c.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-s35390a.c rtc: add support for the S-35390A RTC chip 2008-03-04 16:35:09 -08:00
rtc-sa1100.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-sh.c rtc: rtc-sh: Add support for periodic IRQs. 2008-04-18 09:50:01 -07:00
rtc-stk17ta8.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-sysfs.c rtc-cmos alarm acts as oneshot 2008-02-06 10:41:13 -08:00
rtc-test.c rtc: silence section mismatch warning in rtc-test 2008-04-28 08:58:16 -07:00
rtc-v3020.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-vr41xx.c rtc: fix platform driver hotplug/coldplug 2008-04-11 08:06:44 -07:00
rtc-x1205.c rtc-x1205: new style conversion 2008-04-28 08:58:16 -07:00