[PATCH 00/10] Handle return value of platform_get_*

2017-12-02 Thread Arvind Yadav
- The platform_get_*_*() function returns negative if an error occurs. zero or positive number on success. platform_get_irq_byname() error checking for zero is not correct. - The change is to call free_netdev(), If of_match_node() will fail. - Handle return value of

[PATCH 00/10] Handle return value of platform_get_*

2017-12-02 Thread Arvind Yadav
- The platform_get_*_*() function returns negative if an error occurs. zero or positive number on success. platform_get_irq_byname() error checking for zero is not correct. - The change is to call free_netdev(), If of_match_node() will fail. - Handle return value of