1
0
Fork 0
alistair23-linux/drivers/clk/sprd
Baolin Wang 7fabffed53 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:23:00 +01:00
..
Kconfig clk: sprd: Select REGMAP_MMIO to avoid compile errors 2019-07-22 14:54:26 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
common.c clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle() 2020-01-23 08:23:00 +01:00
common.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
composite.c
composite.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
div.c Merge branch 'clk-divider-container' into clk-next 2018-01-26 16:43:14 -08:00
div.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
gate.c
gate.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
mux.c
mux.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
pll.c clk: sprd: add missing kfree 2019-09-17 22:01:02 -07:00
pll.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
sc9860-clk.c clk: sprd: Add check for return value of sprd_clk_regmap_init() 2019-06-27 15:08:29 -07:00