clk: zynqmp: Check the return type
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Wed, 18 Aug 2021 06:59:27 +0000 (12:29 +0530)
committerStephen Boyd <sboyd@kernel.org>
Sun, 29 Aug 2021 04:26:04 +0000 (21:26 -0700)
commit47d0fbd1cd42d5458c05a7244f7fa3384557b6cc
tree9dfa78fbb9dd4e78db420c8b350f686cc8e3b7af
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
clk: zynqmp: Check the return type

Currently the return value of of_clk_add_hw_provider is ignored.
lets check and return value.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20210818065929.12835-2-shubhrajyoti.datta@xilinx.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/zynqmp/clkc.c