commit | 4c5c95f53b5cb5666906242a63d4d2c4fd0a0be8 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu May 16 21:34:10 2013 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Jun 05 23:06:44 2013 +0200 |
tree | dbaf96f956bebb038448785ba82f1a006bab87da | |
parent | 16874b0709c7c78489de1f502edd33acad2918e8 [diff] |
I2C: mv64xxx: use devm_clk_get() to avoid missing clk_put() This driver forgets to use clk_put(). Rather than adding clk_put(), lets instead use devm_clk_get() to obtain this clock so that it's automatically handled on cleanup. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>