Commit a5b42f66 authored by Zhen Lei's avatar Zhen Lei Committed by Lee Jones
Browse files

mfd: tps80031: Use DEFINE_RES_IRQ() to simplify code



No functional change.

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5ac4b850
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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 */