Skip to content
Commit 3deb1f73 authored by Jagan Teki's avatar Jagan Teki
Browse files

spi: pl022: Simplify platdata code



pl022 spi driver support both OF_CONTROL and PLATDATA, this
patch is trying to simplify the code that differentiating
platdata vs of_control.
- Move OF_CONTROL code at one place
- Handle clock setup code directly in pl022_spi_ofdata_to_platdata

Acked-by: default avatarQuentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 052cafd2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment