commit | 321ae9646bbfdf27550ecb65617322abc2b92052 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Mar 26 10:46:35 2015 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Sep 03 16:00:44 2015 +0100 |
tree | b77e52578752f4ca4d61e29adb07b1355b7d3a25 | |
parent | 924e5ea2ce0f6addb8b098760d840b0923573d19 [diff] |
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>