linux-uconsole/drivers/clk/sprd
Baolin Wang 8e94de44ea clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle()
commit 9629dbdabd upstream.

The syscon_regmap_lookup_by_phandle() will never return NULL, thus use
IS_ERR() to validate the return value instead of IS_ERR_OR_NULL().

Fixes: d41f59fd92 ("clk: sprd: Add common infrastructure")
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lkml.kernel.org/r/1995139bee5248ff3e9d46dc715968f212cfc4cc.1570520268.git.baolin.wang@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:21:39 +01:00
..
common.c clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle() 2020-01-23 08:21:39 +01:00
common.h
composite.c
composite.h
div.c
div.h
gate.c
gate.h
Kconfig clk: sprd: Select REGMAP_MMIO to avoid compile errors 2019-08-25 10:47:52 +02:00
Makefile
mux.c
mux.h
pll.c clk: sprd: add missing kfree 2019-10-07 18:57:03 +02:00
pll.h
sc9860-clk.c clk: sprd: Add check for return value of sprd_clk_regmap_init() 2019-08-06 19:06:49 +02:00