diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-09-05 16:23:03 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2022-09-08 02:27:29 +0000 |
commit | 23bea44cd00c618dca7877366cf8a5340ac110e9 (patch) | |
tree | 33c2a9a8b755b5c5ce410734830e4b65fb1e46f5 /lib | |
parent | 947f11d153f20f87828a15e829d69890db71bcf7 (diff) | |
download | lwn-23bea44cd00c618dca7877366cf8a5340ac110e9.tar.gz lwn-23bea44cd00c618dca7877366cf8a5340ac110e9.zip |
bus: hisi_lpc: Use devm_platform_ioremap_resource
The struct resource is not used for anything else, so we can simplify
the code a bit by using the helper function.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions