Messages in this thread | | | Date | Fri, 17 Jul 2020 22:30:30 +0800 | From | Dejin Zheng <> | Subject | Re: [PATCH v3 1/2] drivers: provide devm_platform_request_irq() |
| |
On Wed, May 27, 2020 at 10:26:10PM +0800, Dejin Zheng wrote: Hi Jonathan, Greg, Rafael, Linus, Michal and Wolfram:
Could you help me review this patch if you have free time? Thank you very very much!
BR, Dejin > 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. > > Cc: Michal Simek <michal.simek@xilinx.com> > Cc: Wolfram Sang <wsa@the-dreams.de> > Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com> > --- > v2 -> v3: > - add devm_platform_request_irq() to devres.rst by Grygorii's > suggestion. > v1 -> v2: > - The patch content has not changed. just resend it by this discussion: > https://patchwork.ozlabs.org/project/linux-i2c/patch/20200520144821.8069-1-zhengdejin5@gmail.com/ >
| |