Re: [PATCH v2 0/2] drivers: provide devm_platform_request_irq()

2020-05-27 Thread Dejin Zheng
On Tue, May 26, 2020 at 08:13:25PM +0300, Grygorii Strashko wrote: > > > On 25/05/2020 10:05, Michal Simek wrote: > > On 23. 05. 20 19:09, Dejin Zheng wrote: > > > On Sat, May 23, 2020 at 06:08:29PM +0200, Wolfram Sang wrote: > > > > On Sat, May 23, 2020 at 10:51:55PM +0800, Dejin Zheng wrote: >

Re: [PATCH v2 0/2] drivers: provide devm_platform_request_irq()

2020-05-26 Thread Grygorii Strashko
On 25/05/2020 10:05, Michal Simek wrote: On 23. 05. 20 19:09, Dejin Zheng wrote: On Sat, May 23, 2020 at 06:08:29PM +0200, Wolfram Sang wrote: On Sat, May 23, 2020 at 10:51:55PM +0800, Dejin Zheng wrote: It will call devm_request_irq() after platform_get_irq() function in many drivers, some

Re: [PATCH v2 0/2] drivers: provide devm_platform_request_irq()

2020-05-25 Thread Michal Simek
On 23. 05. 20 19:09, Dejin Zheng wrote: > On Sat, May 23, 2020 at 06:08:29PM +0200, Wolfram Sang wrote: >> On Sat, May 23, 2020 at 10:51:55PM +0800, Dejin Zheng wrote: >>> It will call devm_request_irq() after platform_get_irq() function >>> in many drivers, sometimes, it is not right for the error

Re: [PATCH v2 0/2] drivers: provide devm_platform_request_irq()

2020-05-23 Thread Dejin Zheng
On Sat, May 23, 2020 at 06:08:29PM +0200, Wolfram Sang wrote: > On Sat, May 23, 2020 at 10:51:55PM +0800, Dejin Zheng wrote: > > It will call devm_request_irq() after platform_get_irq() function > > in many drivers, sometimes, it is not right for the error handling > > of these two functions in som

Re: [PATCH v2 0/2] drivers: provide devm_platform_request_irq()

2020-05-23 Thread Wolfram Sang
On Sat, May 23, 2020 at 10:51:55PM +0800, Dejin Zheng wrote: > It will call devm_request_irq() after platform_get_irq() function > in many drivers, sometimes, it is not right for the error handling > of these two functions in some drivers. so provide this function > to simplify the driver. > > the