diff options
author | Maxim Kochetkov <fido_max@inbox.ru> | 2021-08-03 14:35:38 +0300 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2021-08-06 18:41:30 -0500 |
commit | be7ecbd240b2f9ec544d3ce6fccf4cec3cd15dca (patch) | |
tree | 3a0b145f4fe9b2d78b9ab832cf2d31875de73786 /drivers/soc/samsung/exynos-pmu.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
soc: fsl: qe: convert QE interrupt controller to platform_device
Since 5.13 QE's ucc nodes can't get interrupts from devicetree:
ucc@2000 {
cell-index = <1>;
reg = <0x2000 0x200>;
interrupts = <32>;
interrupt-parent = <&qeic>;
};
Now fw_devlink expects driver to create and probe a struct device
for interrupt controller.
So lets convert this driver to simple platform_device with probe().
Also use platform_get_ and devm_ family function to get/allocate
resources and drop unused .compatible = "qeic".
[1] - https://lore.kernel.org/lkml/CAGETcx9PiX==mLxB9PO8Myyk6u2vhPVwTMsA5NkD-ywH5xhusw@mail.gmail.com
Fixes: e590474768f1 ("driver core: Set fw_devlink=on by default")
Fixes: ea718c699055 ("Revert "Revert "driver core: Set fw_devlink=on by default""")
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/samsung/exynos-pmu.c')
0 files changed, 0 insertions, 0 deletions