mbox series

[00/11] spi: Fix ERRORs reported by checkpatch

Message ID 1616566602-13894-1-git-send-email-f.fangjian@huawei.com
Headers show
Series spi: Fix ERRORs reported by checkpatch | expand

Message

Jay Fang March 24, 2021, 6:16 a.m. UTC
Hi,

A total of 27 ERRORs are found when scanning all files in the drivers/spi
directory by checkpatch tool. This series fixes 21 ERRORs of them, and the
remaining 6 ERRORs I don't think need to be fixed.

No functional change.


Thanks,
Jay

Jay Fang (11):
  spi: spi-topcliff-pch: Fix checkpatch spacing error
  spi: sprd: Fix checkpatch spacing error
  spi: pxa2xx: Fix checkpatch spacing errors
  spi: omap-100k: Fix checkpatch spacing errors
  spi: spi-mtk-nor: Fix checkpatch spacing error
  spi: dln2: Fix open brace following function definitions go on the
    next line
  spi: spi-bitbang: Fix open brace following function definitions go on
    the next line
  spi: jcore: Fix trailing statements should be on next line
  spi: spi-mem: Fix code indent should use tabs where possible
  spi: rockchip: Fix code indent should use tabs where possible
  spi: pl022: Fix trailing whitespace

 drivers/spi/spi-bitbang.c      | 9 ++++++---
 drivers/spi/spi-dln2.c         | 3 ++-
 drivers/spi/spi-jcore.c        | 3 ++-
 drivers/spi/spi-mem.c          | 6 +++---
 drivers/spi/spi-mtk-nor.c      | 2 +-
 drivers/spi/spi-omap-100k.c    | 8 ++++----
 drivers/spi/spi-pl022.c        | 2 +-
 drivers/spi/spi-pxa2xx-pci.c   | 2 +-
 drivers/spi/spi-pxa2xx.c       | 2 +-
 drivers/spi/spi-rockchip.c     | 6 +++---
 drivers/spi/spi-sprd-adi.c     | 2 +-
 drivers/spi/spi-topcliff-pch.c | 3 ++-
 12 files changed, 27 insertions(+), 21 deletions(-)