diff options
author | Zhao Qiang <qiang.zhao@nxp.com> | 2017-08-15 06:16:59 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:38 (GMT) |
commit | 40a0a5b1d88e434243e7a50fab705e97c37f3d81 (patch) | |
tree | 5c8f76817f5f6a88f96165f8bc6ebabcd9538ce1 /drivers/hid/hid-chicony.c | |
parent | 53d3df113b39e77c9ac1b9725e165a821efda60e (diff) | |
download | linux-40a0a5b1d88e434243e7a50fab705e97c37f3d81.tar.xz |
irqchip/qeic: merge qeic init code from platforms to a common function
The codes of qe_ic init from a variety of platforms are redundant,
merge them to a common function and put it to irqchip/irq-qeic.c
For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0,
qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of
"qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic, NULL);".
qe_ic_cascade_muxed_mpic was used for boards has the same interrupt
number for low interrupt and high interrupt, qe_ic_init has checked
if "low interrupt == high interrupt"
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Diffstat (limited to 'drivers/hid/hid-chicony.c')
0 files changed, 0 insertions, 0 deletions