aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-09-09 11:03:17 -0400
committerArnd Bergmann <arnd@arndb.de>2014-09-09 11:03:17 -0400
commitc40c4028f048a077a8950fd95e5d8901f773a63f (patch)
tree4d1abd711def0811b3c2af8e3c89322235bb9e10 /drivers/pwm
parent32dc5ca0c10c859e0e4fcc457e7c0a0c2c4b15ae (diff)
parentd07a1ecdfb96b26dd665b54fee22fc7417b1cb08 (diff)
Merge tag 'at91-cleanup2' of git://github.com/at91linux/linux-at91 into next/cleanup
Pull "Second batch of AT91 cleanup for 3.18" from Nicolas Ferre: - Timer Counter (TC) fixup and cleanup: - fix segmentation fault when kexec-ing a kernel by masking TC interrupts at shutdown and probe time - use modern driver model: devm_*, probe function, sanitize IRQ request Signed-off-by: Arnd Bergmann <arnd@arndb.de> * tag 'at91-cleanup2' of git://github.com/at91linux/linux-at91: clocksource: tcb_clksrc: sanitize IRQ request ARM: at91/tclib: mask interruptions at shutdown and probe ARM: at91/tclib: move initialization from alloc to probe ARM: at91/tclib: prefer using of devm_* functions
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-atmel-tcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c
index f3dcd02390f1..d56e5b717431 100644
--- a/drivers/pwm/pwm-atmel-tcb.c
+++ b/drivers/pwm/pwm-atmel-tcb.c
@@ -379,7 +379,7 @@ static int atmel_tcb_pwm_probe(struct platform_device *pdev)
379 return err; 379 return err;
380 } 380 }
381 381
382 tc = atmel_tc_alloc(tcblock, "tcb-pwm"); 382 tc = atmel_tc_alloc(tcblock);
383 if (tc == NULL) { 383 if (tc == NULL) {
384 dev_err(&pdev->dev, "failed to allocate Timer Counter Block\n"); 384 dev_err(&pdev->dev, "failed to allocate Timer Counter Block\n");
385 return -ENOMEM; 385 return -ENOMEM;