Skip to content
Commit 47a48a92 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Scott Wood
Browse files

powerpc/fsl_soc: improve and simplify get_brgfreq



Use of_property_read_u32 instead of the generic of_get_property to
simplify the code. In addition move the declaration of brgfreq
into get_brgfreq because it's private to this function.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
[scottwood: minor whitespace fixes]
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent 5bda6c0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment