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)
commite695d3a0b3b302974c1fd7b36ea91fe58fb9ca14
treebfc53de7aebef7a8830520b09b193bc9c524911a
parent60cc43fc888428bb2f18f08997432d426a243338
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