Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163472
b: refs/heads/master
c: e0fa7e5
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Aug 20, 2009
1 parent fb073ec commit afd6acf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 485f0720c3e0f57deac403acfbf078a89baeb6ba
refs/heads/master: e0fa7e5803382c4b42ed693be55463e878900a63
3 changes: 0 additions & 3 deletions trunk/drivers/rtc/rtc-ds1302.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ static void ds1302_writebyte(unsigned int addr, unsigned int val)

static int ds1302_rtc_read_time(struct device *dev, struct rtc_time *tm)
{
struct ds1302_rtc *rtc = dev_get_drvdata(dev);

tm->tm_sec = bcd2bin(ds1302_readbyte(RTC_ADDR_SEC));
tm->tm_min = bcd2bin(ds1302_readbyte(RTC_ADDR_MIN));
tm->tm_hour = bcd2bin(ds1302_readbyte(RTC_ADDR_HOUR));
Expand Down Expand Up @@ -169,7 +167,6 @@ static struct rtc_class_ops ds1302_rtc_ops = {
static int __init ds1302_rtc_probe(struct platform_device *pdev)
{
struct rtc_device *rtc;
int ret;

/* Reset */
set_dp(get_dp() & ~(RTC_RESET | RTC_IODATA | RTC_SCLK));
Expand Down

0 comments on commit afd6acf

Please sign in to comment.