mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
mfd: tps80031: Use DEFINE_RES_IRQ() to simplify code
No functional change. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
5ac4b8509f
commit
a5b42f6687
@ -35,11 +35,7 @@
|
|||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
static const struct resource tps80031_rtc_resources[] = {
|
static const struct resource tps80031_rtc_resources[] = {
|
||||||
{
|
DEFINE_RES_IRQ(TPS80031_INT_RTC_ALARM),
|
||||||
.start = TPS80031_INT_RTC_ALARM,
|
|
||||||
.end = TPS80031_INT_RTC_ALARM,
|
|
||||||
.flags = IORESOURCE_IRQ,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* TPS80031 sub mfd devices */
|
/* TPS80031 sub mfd devices */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user