]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
thermal: rockchip: fix an error code
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 Apr 2015 09:34:10 +0000 (12:34 +0300)
committerZhang Rui <rui.zhang@intel.com>
Sat, 9 May 2015 05:36:57 +0000 (13:36 +0800)
commit0d0a2bf6ed4b489eef9a84450b3d90e6e001ce63
treef15b67dfae31044e1d0121e60abb4c58eacb5ee6
parentd81861138898ce8d83bc78f0d558ac3984225e2b
thermal: rockchip: fix an error code

There is a copy and paste bug, "->clk" vs "->pclk", so we return the
wrong error code here.

Fixes: cbac8f639437 ('thermal: rockchip: add driver for thermal')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/rockchip_thermal.c