diff options
| author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-02-02 11:37:50 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-11 11:21:12 +0200 |
| commit | c7ea1f7642d7d77503804086af9b2336621b31e8 (patch) | |
| tree | 0ec2cc84e527d6a1db2106c48dbdf18a7f02b3cc /include/linux/uts.h | |
| parent | e6ce6ce062650eda95bc2b44420a4a7151c42d8a (diff) | |
clk: rockchip: free memory in error cases when registering clock branches
commit 2467b6745e0ae9c6cdccff24c4cceeb14b1cce3f upstream.
Add free memeory if rockchip_clk_register_branch fails.
Fixes: a245fecbb806 ("clk: rockchip: add basic infrastructure...")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/uts.h')
0 files changed, 0 insertions, 0 deletions
