Home
last modified time | relevance | path

Searched hist:"321 ae9646bbfdf27550ecb65617322abc2b92052" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pcmcia/
H A Dsa1111_generic.cdiff 321ae9646bbfdf27550ecb65617322abc2b92052 Thu Mar 26 05:46:35 CDT 2015 Russell King <rmk+kernel@arm.linux.org.uk> 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: Russell King <rmk+kernel@arm.linux.org.uk>