diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-05-14 12:05:00 +0200 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-06-23 06:35:58 +0200 |
commit | ded515a4d5561bc930de4e42a8621b1edd481f22 (patch) | |
tree | fceaf8065900406433039ebf32f06190cc32bb39 /arch/xtensa/oprofile | |
parent | h8300: Symbol name fix (diff) | |
download | linux-ded515a4d5561bc930de4e42a8621b1edd481f22.tar.xz linux-ded515a4d5561bc930de4e42a8621b1edd481f22.zip |
clk: h8300: fix error handling in h8s2678_pll_clk_setup()
The error handling was a bit messy and buggy. It freed "pll_clock" then
dereferenced it, and then freed it again. I've re-written it in normal
kernel style.
Fixes: 42ff8e8008c8 ('h8300: clock driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Diffstat (limited to 'arch/xtensa/oprofile')
0 files changed, 0 insertions, 0 deletions