Skip to content
Commit ecc133c6 authored by Linus Walleij's avatar Linus Walleij
Browse files

soc: ixp4xx: qmgr: Pass resources



Instead of using hardcoded base address implicitly
obtained through <linux/io.h>, pass the physical base
for the QMGR block as a memory resource and remap
it in the driver.

Also pass the two IRQs as resources and obtain them
in the driver.

Use devm_* accessors and simplify the error path in the
process. Drop memory region request as this is done by
the devm_ioremap* functions.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6b390319
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