commit | ded515a4d5561bc930de4e42a8621b1edd481f22 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 14 13:05:00 2015 +0300 |
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | Tue Jun 23 13:35:58 2015 +0900 |
tree | fceaf8065900406433039ebf32f06190cc32bb39 | |
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>