diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-01-23 08:05:07 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-23 11:31:21 +0100 |
commit | bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377 (patch) | |
tree | cd09b61e8a35d77eeac8c2aee5f70a0f719d516c /Makefile | |
parent | spi: spi-mem: Add devm_spi_mem_dirmap_{create,destroy}() (diff) | |
download | linux-bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377.tar.xz linux-bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377.zip |
spi: bcm2835aux: remove unneeded NULL check of devm_clk_get
Fix a static code checker warning:
drivers/spi/spi-bcm2835aux.c:460
bcm2835aux_spi_probe() warn: passing zero to 'PTR_ERR'
In case of error, the function devm_clk_get() returns ERR_PTR()
and not returns NULL.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions