aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bcm63xx.c
diff options
context:
space:
mode:
authorGravatar William Zhang <william.zhang@broadcom.com> 2023-03-06 17:20:04 -0800
committerGravatar Mark Brown <broonie@kernel.org> 2023-03-07 13:58:41 +0000
commit20064c47f63e995216e0dfb0a6ea37b653ed534c (patch)
treedcba6ea2a57a7e7a74e0ecf37b92bc273c99d519 /drivers/spi/spi-bcm63xx.c
parentspi: qup: Use devm_platform_get_and_ioremap_resource() (diff)
downloadlinux-20064c47f63e995216e0dfb0a6ea37b653ed534c.tar.gz
linux-20064c47f63e995216e0dfb0a6ea37b653ed534c.tar.bz2
linux-20064c47f63e995216e0dfb0a6ea37b653ed534c.zip
spi: Fix cocci warnings
cocci reported warning: !A || A && B is equivalent to !A || B. This fix simplified the condition check to !A || B. Fixes: 76a85704cb91 ("spi: spi-mem: Allow controller supporting mem_ops without exec_op") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/oe-kbuild-all/202303010051.HrHWSr9y-lkp@intel.com/ Signed-off-by: William Zhang <william.zhang@broadcom.com> Link: https://lore.kernel.org/r/20230307012004.414502-1-william.zhang@broadcom.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm63xx.c')
0 files changed, 0 insertions, 0 deletions