aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-23 15:05:07 +0800
committerMark Brown <broonie@kernel.org>2019-01-23 10:31:21 +0000
commitbfc7af6d6df8d75b9c693b8eb98c21aa75c1e377 (patch)
treecd09b61e8a35d77eeac8c2aee5f70a0f719d516c /arch/arm/mach-pxa
parentspi: spi-mem: Add devm_spi_mem_dirmap_{create,destroy}() (diff)
downloadlinux-dev-bfc7af6d6df8d75b9c693b8eb98c21aa75c1e377.tar.xz
linux-dev-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 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions