Skip to content
Commit 86287958 authored by Russell King's avatar Russell King
Browse files

ARM: cleanup: clk_get() error handling



Use the correct IS_ERR() to determine if clk_get() returned an error.
Set timer->fclk to be an error value initially, and check everywhere
using IS_ERR().  This keeps the range of valid values for 'struct clk'
consistent.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b269b170
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment