]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/spi/spi-dw.c
spi: dw: Fix checkpatch issue
authorJingoo Han <jg1.han@samsung.com>
Tue, 2 Sep 2014 02:49:24 +0000 (11:49 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 3 Sep 2014 18:30:26 +0000 (19:30 +0100)
commitfadcace703bbb985a996d01141499bd8d1f7d5bc
treed1383e6a746cc3a645bccda88cad137e916a81c2
parent859c3377ccc14c11a398c26af4fd3088d7578b2c
spi: dw: Fix checkpatch issue

Fix the following checkpatch warnings.

  WARNING: debugfs_remove_recursive(NULL) is safe this check is probably not required
  WARNING: min() should probably be min_t(u32, rx_left, dw_readw(dws, DW_SPI_RXFLR))
  WARNING: else is not generally useful after a break or return
  WARNING: Missing a blank line after declarations
  WARNING: void function return statements are not generally useful

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c