]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: mt6397: Create irq mappings in mfd core driver
authorChen Zhong <chen.zhong@mediatek.com>
Wed, 25 Oct 2017 13:15:59 +0000 (21:15 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 16 Apr 2018 14:16:04 +0000 (15:16 +0100)
commitb5e56ecd8fdb18ea9daf9f2c253c0f57fadc1136
treebfc53de7aebef7a8830520b09b193bc9c524911a
parent064bcb773e451d01c97b9b60772d30bcc3d5c90c
mfd: mt6397: Create irq mappings in mfd core driver

The core driver should create and manage irq mappings instead of
leaf drivers. This patch change to pass irq domain to
devm_mfd_add_devices() and it will create mapping for irq resources
automatically. And remove irq mapping in rtc driver since this has
been done in core driver.

Signed-off-by: Chen Zhong <chen.zhong@mediatek.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c
drivers/rtc/rtc-mt6397.c