Messages in this thread | | | From | Stephen Boyd <> | Subject | Re: [PATCH 1/2] clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle() | Date | Fri, 27 Sep 2019 11:45:47 -0700 |
| |
Quoting Baolin Wang (2019-09-26 20:50:53) > 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(). > > Signed-off-by: Baolin Wang <baolin.wang@linaro.org> > --- > drivers/clk/sprd/common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Fixes tag?
| |