thermal: rockchip: fix an error code
commit 0d0a2bf6 upstream. There is a copy and paste bug, "->clk" vs "->pclk", so we return the wrong error code here. Fixes: cbac8f63 ('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> Signed-off-by:
Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment