mfd: rk808: use DEFINE_RES_IRQ for rk808 rtc alarm irq
From: Heiko Stuebner <heiko@...> Date: Fri, 16 Aug 2019 08:34:01 +0200
Commit-Message
Do not open code the definition, instead use the nice DEFINE_RES_IRQ macro for it. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
drivers/mfd/rk808.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Statistics
- 1 lines added
- 5 lines removed
Changes
----------------------------- drivers/mfd/rk808.c ------------------------------
index c0e5e921766d..a69a6742ecdc 100644
@@ -109,11 +109,7 @@ static const struct regmap_config rk817_regmap_config = {
};
static struct resource rtc_resources[] = {
+ DEFINE_RES_IRQ(RK808_IRQ_RTC_ALARM),
};
static struct resource rk817_rtc_resources[] = {