summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/icontrol.c
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/icontrol.c
parent1fc1b63638da1accb27264a507b23aa6863c3852 (diff)
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/icontrol.c')
0 files changed, 0 insertions, 0 deletions