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

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
......@@ -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[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment