diff options
author | Rahul Tanwar <rahul.tanwar@linux.intel.com> | 2020-07-16 09:30:30 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-07-24 11:55:18 +0300 |
commit | 8529fc0aaa704c6618e69e8d35834aa977b6ece9 (patch) | |
tree | 2530e6bb0670465b6ec676901bdf04654e6ad384 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-8529fc0aaa704c6618e69e8d35834aa977b6ece9.tar.xz |
clk: intel: Use devm_clk_hw_register() instead of clk_hw_register()
To ensure that clks are unregistered in case of any failure, use
devm_clk_hw_register() instead of clk_hw_register().
Signed-off-by: Rahul Tanwar <rahul.tanwar@linux.intel.com>
Link: https://lore.kernel.org/r/7ef7009b4e9f986fd6dfbf487c0e85de68a4ba9b.1594880946.git.rahul.tanwar@linux.intel.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions