Re: [PATCH] crypto: mv_cesa: remove NO_IRQ reference

2016-09-07 Thread Herbert Xu
On Sat, Sep 03, 2016 at 01:26:40AM +0200, Arnd Bergmann wrote: > Drivers should not use NO_IRQ, as we are trying to get rid of that. > In this case, the call to irq_of_parse_and_map() is both wrong > (as it returns '0' on failure, not NO_IRQ) and unnecessary > (as platform_get_irq() does the same

Re: [PATCH] crypto: mv_cesa: remove NO_IRQ reference

2016-09-07 Thread Herbert Xu
On Sat, Sep 03, 2016 at 01:26:40AM +0200, Arnd Bergmann wrote: > Drivers should not use NO_IRQ, as we are trying to get rid of that. > In this case, the call to irq_of_parse_and_map() is both wrong > (as it returns '0' on failure, not NO_IRQ) and unnecessary > (as platform_get_irq() does the same

Re: [PATCH] crypto: mv_cesa: remove NO_IRQ reference

2016-09-03 Thread Boris Brezillon
On Sat, 3 Sep 2016 01:26:40 +0200 Arnd Bergmann wrote: > Drivers should not use NO_IRQ, as we are trying to get rid of that. > In this case, the call to irq_of_parse_and_map() is both wrong > (as it returns '0' on failure, not NO_IRQ) and unnecessary > (as platform_get_irq() does

Re: [PATCH] crypto: mv_cesa: remove NO_IRQ reference

2016-09-03 Thread Boris Brezillon
On Sat, 3 Sep 2016 01:26:40 +0200 Arnd Bergmann wrote: > Drivers should not use NO_IRQ, as we are trying to get rid of that. > In this case, the call to irq_of_parse_and_map() is both wrong > (as it returns '0' on failure, not NO_IRQ) and unnecessary > (as platform_get_irq() does the same

[PATCH] crypto: mv_cesa: remove NO_IRQ reference

2016-09-02 Thread Arnd Bergmann
Drivers should not use NO_IRQ, as we are trying to get rid of that. In this case, the call to irq_of_parse_and_map() is both wrong (as it returns '0' on failure, not NO_IRQ) and unnecessary (as platform_get_irq() does the same thing) This removes the call to irq_of_parse_and_map() and checks for

[PATCH] crypto: mv_cesa: remove NO_IRQ reference

2016-09-02 Thread Arnd Bergmann
Drivers should not use NO_IRQ, as we are trying to get rid of that. In this case, the call to irq_of_parse_and_map() is both wrong (as it returns '0' on failure, not NO_IRQ) and unnecessary (as platform_get_irq() does the same thing) This removes the call to irq_of_parse_and_map() and checks for