diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-31 20:01:30 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-03 14:23:32 -0700 |
commit | c265a0d5152619bddcf1986f17995d2df6781554 (patch) | |
tree | a12aedb8a70c6f45d507206f7d6fa9c7cff00cd0 /drivers/misc/pch_phub.c | |
parent | fca597558e47f936a0e03bab15af726aa3a0fa0e (diff) |
pcie-gadget-spear: fix error return code in spear_pcie_gadget_probe()
Fix to return a negative error code in the clk_get_sys() and clk_enable()
error handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/pch_phub.c')
0 files changed, 0 insertions, 0 deletions