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: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Heiko Stuebner 2019-09-17 10:12:56 +02:00 committed by Lee Jones
parent dbd16ef534
commit eeb86ed3ea
1 changed files with 1 additions and 5 deletions

View File

@ -109,11 +109,7 @@ static const struct regmap_config rk817_regmap_config = {
}; };
static struct resource rtc_resources[] = { static struct resource rtc_resources[] = {
{ DEFINE_RES_IRQ(RK808_IRQ_RTC_ALARM),
.start = RK808_IRQ_RTC_ALARM,
.end = RK808_IRQ_RTC_ALARM,
.flags = IORESOURCE_IRQ,
}
}; };
static struct resource rk817_rtc_resources[] = { static struct resource rk817_rtc_resources[] = {