Arnd Bergmann 3ff38237f1 drivers/rtc/rtc-pcf8563.c: fix pcf8563_irq() error return value
As pointed out by Sergei Shtylyov, the pcf8563_irq function contains a
bug in the error handling: an interrupt handler is not supposed to
return an errno value but an 'enum irqreturn'.

Let's fix this by returning IRQ_NONE in case of a communication error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
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>
2014-10-14 02:18:19 +02:00
..
2014-10-08 17:37:16 -04:00
2014-10-07 20:39:25 -04:00
2014-10-10 22:07:55 -04:00
2014-10-08 05:27:39 -04:00
2014-10-10 16:40:14 -04:00
2014-10-10 22:04:49 -04:00
2014-10-07 21:29:18 -04:00
2014-10-10 16:40:14 -04:00
2014-10-11 06:34:22 -04:00
2014-10-11 06:47:50 -04:00
2014-10-11 20:29:01 -04:00
2014-10-12 09:30:38 -04:00
2014-10-08 17:37:16 -04:00
2014-10-11 06:49:24 -04:00
2014-10-10 16:40:14 -04:00
2014-10-11 20:29:01 -04:00