Skip to contentSkip to conversation

m41t11: Remove unused functions

PATCH New Peter Tyser 2 participants 2 messages Nov 9, 2009 – Dec 2, 2009 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m41t11: Remove unused functions

---
 drivers/rtc/m41t11.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
drivers/rtc/m41t11.c +0 -14
index e0c27e1..bb13487 100644
@@ -181,18 +181,4 @@ void rtc_reset (void)
 	val = val & 0x3F;/*turn off freq test keep calibration*/
 	i2c_write(CONFIG_SYS_I2C_RTC_ADDR, RTC_CONTROL_ADDR, 1, &val, 1);
 }
-
-int rtc_store(int addr, unsigned char* data, int size)
-{
-	/*don't let things wrap onto the time on a write*/
-	if( (addr+size) >= M41T11_STORAGE_SZ )
-		return 1;
-	return i2c_write( CONFIG_SYS_I2C_RTC_ADDR, REG_CNT+addr, 1, data, size );
-}
-
-int rtc_recall(int addr, unsigned char* data, int size)
-{
-	return i2c_read( CONFIG_SYS_I2C_RTC_ADDR, REG_CNT+addr, 1, data, size );
-}
-
 #endif
Signature · 1 line
1.6.2.1
#1 lore raw

PATCH 1/1 m41t11: Remove unused functions

Dear Peter Tyser,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 drivers/rtc/m41t11.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Oh, that sound of male ego.  You travel halfway across the galaxy and
it's still the same song.
	-- Eve McHuron, "Mudd's Women", stardate 1330.1