phy: qcom-qmp: Use devm_platform_ioremap_resource() to simplify
authorStephen Boyd <swboyd@chromium.org>
Wed, 16 Sep 2020 23:11:58 +0000 (16:11 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 28 Sep 2020 05:57:53 +0000 (11:27 +0530)
commitf385b73192c584d0efbfa8903eac3eea7db43744
tree03ef08bb117f38c44acffcca3bb0b3fc615f8bbd
parentdab7b10ddc83e5cdaef103cc08a162a2a2b03c15
phy: qcom-qmp: Use devm_platform_ioremap_resource() to simplify

We can use the wrapper API here to save some lines and remove the need
for the 'base' and 'res' local variable.

Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
Cc: Chandan Uddaraju <chandanu@codeaurora.org>
Cc: Vara Reddy <varar@codeaurora.org>
Cc: Tanmay Shah <tanmay@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Manu Gautam <mgautam@codeaurora.org>
Cc: Sandeep Maheswaram <sanm@codeaurora.org>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Jonathan Marek <jonathan@marek.ca>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20200916231202.3637932-7-swboyd@chromium.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c