Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330127
b: refs/heads/master
c: 06f77d1
h: refs/heads/master
i:
  330125: aec464e
  330123: b15f124
  330119: 9ac4cdc
  330111: 9f7a0a2
v: v3
  • Loading branch information
Venu Byravarasu authored and Linus Torvalds committed Oct 5, 2012
1 parent f117b30 commit 9fa2cc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 651fb48034ee2cf36d4c8d1cc86ba923a3c82b0d
refs/heads/master: 06f77d18e4be0837868ebba8dff4097103e484c4
5 changes: 1 addition & 4 deletions trunk/drivers/rtc/rtc-tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ static int __devinit tps65910_rtc_probe(struct platform_device *pdev)
{
struct tps65910 *tps65910 = NULL;
struct tps65910_rtc *tps_rtc = NULL;
struct tps65910_board *pmic_plat_data;
int ret;
int irq;
u32 rtc_reg;
Expand All @@ -253,15 +252,13 @@ static int __devinit tps65910_rtc_probe(struct platform_device *pdev)
if (ret < 0)
return ret;

pmic_plat_data = dev_get_platdata(tps65910->dev);
irq = pmic_plat_data->irq_base;
irq = platform_get_irq(pdev, 0);
if (irq <= 0) {
dev_warn(&pdev->dev, "Wake up is not possible as irq = %d\n",
irq);
return ret;
}

irq += TPS65910_IRQ_RTC_ALARM;
ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
tps65910_rtc_interrupt, IRQF_TRIGGER_LOW,
"rtc-tps65910", &pdev->dev);
Expand Down

0 comments on commit 9fa2cc0

Please sign in to comment.