mfd: tps80031: Use DEFINE_RES_IRQ() to simplify code
PATCH 1/1 mfd: tps80031: Use DEFINE_RES_IRQ() to simplify code
No functional change.
Signed-off-by Zhen Lei <[email protected]>
--- drivers/mfd/tps80031.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/mfd/tps80031.c +1 -5
@@ -35,11 +35,7 @@#include <linux/slab.h> static const struct resource tps80031_rtc_resources[] = { - { - .start =TPS80031_INT_RTC_ALARM , - .end =TPS80031_INT_RTC_ALARM , - .flags =IORESOURCE_IRQ , - }, +DEFINE_RES_IRQ (TPS80031_INT_RTC_ALARM ), };/* TPS80031 sub mfd devices */
Signature · 1 line
2.26.0.106.g9fadedd