diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2018-07-26 12:33:09 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-07-28 00:15:57 +0200 |
commit | faa590baf8dfe5ad877e062f18de4419e4d174f7 (patch) | |
tree | b646d610f781095223ad21fb322c4acb5f7b0da6 /drivers/thermal/qcom/tsens-v2.c | |
parent | thermal: tsens: Rename variable (diff) | |
download | linux-faa590baf8dfe5ad877e062f18de4419e4d174f7.tar.xz linux-faa590baf8dfe5ad877e062f18de4419e4d174f7.zip |
thermal: tsens: switch from of_iomap() to devm_ioremap_resource()
devm_ioremap_resources() automatically requests resources (so that the I/O
region shows up in /proc/iomem) and devm_ wrappers do better error handling
and unmapping of the I/O region when needed.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/qcom/tsens-v2.c')
0 files changed, 0 insertions, 0 deletions