diff options
author | Russell King | 2013-05-16 21:34:10 +0100 |
---|---|---|
committer | Wolfram Sang | 2013-06-05 23:06:44 +0200 |
commit | 4c5c95f53b5cb5666906242a63d4d2c4fd0a0be8 (patch) | |
tree | dbaf96f956bebb038448785ba82f1a006bab87da /lib/bch.c | |
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>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions