diff options
author | Tzung-Bi Shih <[email protected]> | 2021-01-27 16:31:33 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2021-02-09 09:08:44 -0600 |
commit | 2e88e8fcdfcd2e5569180944789ff299114c2bf7 (patch) | |
tree | 6114c386115ac0a97ae0248ffc5e79560e01d3bd /scripts/gdb/linux/tasks.py | |
parent | ec8207ae39dc1f498962722d9fdea7bbc3a8233b (diff) |
remoteproc/mediatek: use devm_platform_ioremap_resource_byname
Replaces platform_get_resource_byname() and devm_ioremap_resource()
pairs to devm_platform_ioremap_resource_byname().
Note that, not every pairs are applicable to replace. Especially when
it needs to access the resource struct from
platform_get_resource_byname().
For example:
scp->sram_size = resource_size(res);
Reviewed-by: Mathieu Poirier <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions