summaryrefslogtreecommitdiff
path: root/lib/kasprintf.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-09-06 19:20:36 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-09-06 23:57:02 (GMT)
commitcf86799e816fe3a6e47eab3f0beb735d5944f01a (patch)
treeac7c40ce165522ce5b6c9a1ff443ce635136980d /lib/kasprintf.c
parent72a31d85a56581f0369f881c453d9c212a2bad38 (diff)
downloadlinux-cf86799e816fe3a6e47eab3f0beb735d5944f01a.tar.xz
ptp: ixp46x: remove NO_IRQ handling
gpio_to_irq does not return NO_IRQ but instead returns a negative error code on failure. Returning NO_IRQ from the function has no negative effects as we only compare the result to the expected interrupt number, but it's better to return a proper failure code for consistency, and we should remove NO_IRQ from the kernel entirely. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions