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 /lib/net_utils.c | |
parent | 51c0e618b219c025ddaaf14baea8942cb7e2105b (diff) |
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 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions