Skip to content
Commit 8a7322a3 authored by Genjian Zhang's avatar Genjian Zhang Committed by Arnd Bergmann
Browse files

ep93xx: clock: Do not return the address of the freed memory



Avoid return freed memory addresses,Modified to the actual error
return value of clk_register().

Fixes: 9645ccc7 ("ep93xx: clock: convert in-place to COMMON_CLK")
Signed-off-by: default avatarGenjian Zhang <zhanggenjian@kylinos.cn>
Acked-by: default avatarAlexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 3e111946
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment