projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd16ef
)
mfd: rk808: Use DEFINE_RES_IRQ for rk808 RTC alarm IRQ
author
Heiko Stuebner
<heiko@sntech.de>
Tue, 17 Sep 2019 08:12:56 +0000
(10:12 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 11 Nov 2019 08:45:01 +0000
(08:45 +0000)
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>
drivers/mfd/rk808.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rk808.c
b/drivers/mfd/rk808.c
index c0e5e921766d6c00e4ca85da4930b65e12afca21..a69a6742ecdc3786e69652b5a79f304e11d74a2e 100644
(file)
--- a/
drivers/mfd/rk808.c
+++ b/
drivers/mfd/rk808.c
@@
-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[] = {