From: Arnd Bergmann Date: Mon, 13 Oct 2014 22:53:10 +0000 (-0700) Subject: drivers/rtc/rtc-pcf8563.c: fix pcf8563_irq() error return value X-Git-Tag: omap-for-v3.19/prcm-cleanup~76^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ff38237f183ecd8a190318e0046138b92ee5e35;p=pandora-kernel.git 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 Cc: Sergei Shtylyov Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed