Skip to content
Commit 67c2b9cb authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Russell King
Browse files

ARM: 8207/1: amba: Use inlines instead of macros for amba_pclk_enable/disable



Replace the amba_pclk_enable and amba_pclk_disable macros with static
inline functions and remove checks for IS_ERR. The amba bus clock won't
be ERR because probe would fail before the use of these functions.

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c2563038
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