commit | 46c8773a58010d31f228e148b8b774d94cc9810d | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Mon Sep 24 13:38:04 2012 -0700 |
committer | Mike Turquette <mturquette@linaro.org> | Mon Oct 29 11:12:46 2012 -0700 |
tree | 50bab56383102bfc34c38526c9c0183448180480 | |
parent | 980f58a45e04b248e9dd01b0eba510a3384160db [diff] |
clk: Add devm_clk_{register,unregister}() Some clock drivers can be simplified if devres takes care of unregistering any registered clocks along error paths. Introduce devm_clk_register() so that clock drivers get unregistration for free along with simplified error paths. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>