diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-10-06 21:33:18 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2020-11-28 00:37:12 +0100 |
commit | cc6576029aedc79ce87b9fcb22cbd396d47f2852 (patch) | |
tree | 28298faf5f7173668f58ec99af9c69f6f5c69f9e /drivers/soc/mediatek/mt8192-pm-domains.h | |
parent | soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h (diff) | |
download | linux-cc6576029aedc79ce87b9fcb22cbd396d47f2852.tar.xz linux-cc6576029aedc79ce87b9fcb22cbd396d47f2852.zip |
soc: mediatek: mmsys: Use devm_platform_ioremap_resource()
For the common platform_get_resource()+devm_platform_ioremap() combination,
there is a helper, so use it and make the code a bit more compact.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Link: https://lore.kernel.org/r/20201006193320.405529-3-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/mt8192-pm-domains.h')
0 files changed, 0 insertions, 0 deletions