diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-01-23 10:05:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-23 13:31:21 +0300 |
commit | bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377 (patch) | |
tree | cd09b61e8a35d77eeac8c2aee5f70a0f719d516c /arch/arm/mach-pxa/poodle.c | |
parent | 1fc1b63638da1accb27264a507b23aa6863c3852 (diff) | |
download | linux-bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377.tar.xz |
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 'arch/arm/mach-pxa/poodle.c')
0 files changed, 0 insertions, 0 deletions