Commit eeb86ed3 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Lee Jones
Browse files

mfd: rk808: Use DEFINE_RES_IRQ for rk808 RTC alarm IRQ



Do not open code the definition, instead use the nice DEFINE_RES_IRQ
macro for it.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent dbd16ef5
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -109,11 +109,7 @@ static const struct regmap_config rk817_regmap_config = {
};

static struct resource rtc_resources[] = {
	{
		.start  = RK808_IRQ_RTC_ALARM,
		.end    = RK808_IRQ_RTC_ALARM,
		.flags  = IORESOURCE_IRQ,
	}
	DEFINE_RES_IRQ(RK808_IRQ_RTC_ALARM),
};

static struct resource rk817_rtc_resources[] = {