Re: [PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc

2016-06-03 Thread Rob Herring
On Sat, May 28, 2016 at 11:02:50PM +0300, Sergei Shtylyov wrote: > 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 >

Re: [PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc

2016-06-03 Thread Rob Herring
On Sat, May 28, 2016 at 11:02:50PM +0300, Sergei Shtylyov wrote: > 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 >

[PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc

2016-05-28 Thread Sergei Shtylyov
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).

[PATCH] of: irq: fix of_irq_get[_byname]() kernel-doc

2016-05-28 Thread Sergei Shtylyov
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).