[PATCH 2/7 v2] net: ezchip: nps_enet: Fix platform_get_irq's error checking

2017-12-04 Thread Arvind Yadav
The platform_get_irq() function returns negative number if an error occurs, Zero if No irq is found and positive number if irq gets successful. platform_get_irq() error checking only for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2:

[PATCH 2/7 v2] net: ezchip: nps_enet: Fix platform_get_irq's error checking

2017-12-04 Thread Arvind Yadav
The platform_get_irq() function returns negative number if an error occurs, Zero if No irq is found and positive number if irq gets successful. platform_get_irq() error checking only for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2: commit message was not