lkml.org 
[lkml]   [2020]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] drivers: provide devm_platform_request_irq()
Date
It will call devm_request_irq() after platform_get_irq() function
in many drivers, sometimes, it is not right of the error handling
for these two functions in some drivers. so provide this function
to simplify the driver.

the first patch will provide devm_platform_request_irq(), and the
other patch will convert to devm_platform_request_irq() in some
i2c bus dirver.

Dejin Zheng (2):
drivers: provide devm_platform_request_irq()
i2c: busses: convert to devm_platform_request_irq()

drivers/base/platform.c | 33 ++++++++++++++++++++++++++++++
drivers/i2c/busses/i2c-bcm-kona.c | 16 +++------------
drivers/i2c/busses/i2c-cadence.c | 10 +++------
drivers/i2c/busses/i2c-digicolor.c | 10 +++------
drivers/i2c/busses/i2c-emev2.c | 5 ++---
drivers/i2c/busses/i2c-jz4780.c | 5 ++---
drivers/i2c/busses/i2c-meson.c | 13 ++++--------
drivers/i2c/busses/i2c-mxs.c | 9 +++-----
drivers/i2c/busses/i2c-pnx.c | 9 ++------
drivers/i2c/busses/i2c-rcar.c | 9 +++-----
drivers/i2c/busses/i2c-rk3x.c | 14 +++----------
drivers/i2c/busses/i2c-sirf.c | 10 ++-------
drivers/i2c/busses/i2c-stu300.c | 4 ++--
drivers/i2c/busses/i2c-synquacer.c | 12 +++--------
include/linux/platform_device.h | 4 ++++
15 files changed, 72 insertions(+), 91 deletions(-)

--
2.25.0

\
 
 \ /
  Last update: 2020-05-18 17:53    [W:0.470 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site