diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-05-14 13:05:00 +0300 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-06-23 13:35:58 +0900 |
commit | ded515a4d5561bc930de4e42a8621b1edd481f22 (patch) | |
tree | fceaf8065900406433039ebf32f06190cc32bb39 /arch/h8300 | |
parent | 389456b74007c6f455bec9d11e6c7cfc64d6e8d0 (diff) |
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/h8300')
0 files changed, 0 insertions, 0 deletions