diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2016-05-28 23:02:50 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-08-23 00:38:08 +0300 |
commit | 7be35571c522df6f1a405ef0291e6e9bcb7fbed8 (patch) | |
tree | 6c6de7069ed65ee2344bfc7fcf42eb30eade3c4e /arch/parisc | |
parent | 9f762712d11c3ceab0d41dc4c1601c1326f9d105 (diff) | |
download | linux-7be35571c522df6f1a405ef0291e6e9bcb7fbed8.tar.xz |
of: irq: fix of_irq_get[_byname]() kernel-doc
commit 3993546646baf1dab5f5c4f7d9bb58f2046fd1c1 upstream.
The kernel-doc for the of_irq_get[_byname]() is clearly inadequate in
describing the return values -- of_irq_get_byname() is documented better
than of_irq_get() but it still doesn't mention that 0 is returned iff
irq_create_of_mapping() fails (it doesn't return an error code in this
case). Document all possible return value variants, making the writing
of the word "IRQ" consistent, while at it...
Fixes: 9ec36cafe43b ("of/irq: do irq resolution in platform_get_irq")
Fixes: ad69674e73a1 ("of/irq: do irq resolution in platform_get_irq_byname()")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions