Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

pcmcia: sa1111: simplify clk handing in sa1111_pcmcia_add()



clk_get(dev, NULL) will always refer to the same clock, so it's
pointless calling this multiple times for the same device.  As we no
longer have to worry about the cleanup (via use of devm_clk_get()) we
can simplify sa1111_pcmcia_add() too.

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