diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2022-02-08 15:40:04 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-02-17 23:12:21 +0300 |
commit | 2403d6f1b1dac1b7864cd8b9b4a0f7350c63e770 (patch) | |
tree | 6789661db8f551ca81600bb2854bb7682e8dafd3 /drivers/clk/mediatek/clk-gate.c | |
parent | 7a688c91d3fd54c53e7a9edd6052cdae98dd99d8 (diff) | |
download | linux-2403d6f1b1dac1b7864cd8b9b4a0f7350c63e770.tar.xz |
clk: mediatek: Use %pe to print errors
If %pe is used to print errors, a string representation of the error
would be printed instead of a number as with %ld. Also, all the sites
printing errors are deriving the error code from a pointer. Using %pe
is more straightforward.
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220208124034.414635-2-wenst@chromium.org
Reviewed-by: Chun-Jie Chen <chun-jie.chen@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-gate.c')
0 files changed, 0 insertions, 0 deletions