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.si...@xilinx.com>
> Cc: Wolfram Sang <w...@the-dreams.de>
> Signed-off-by: Dejin Zheng <zhengdej...@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-zhengdej...@gmail.com/
> 
 

Reply via email to