Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eba79b8e authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: pil: Use devm_request_and_ioremap()



Cut down on lines of boiler plate error code by using
devm_request_and_ioremap(). We also get free error messages for
exceptional conditions and smaller code size with consolidated
code. Unfortunately we can't do this for shared mappings (clock
controller in particular) because only one driver can request a
region at a time.

Change-Id: I2d9d688d0feaf2ea4b2277aea22ab4424caf389e
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 0774449c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment