Skip to content
Commit 453d9fdc authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller
Browse files

net: mdio: mux-meson-g12a: use __clk_is_enabled to simplify the code



By using __clk_is_enabled () we can avoid defining an own variable for
tracking whether enable counter is zero.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 70eb3911
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