mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
staging: KPC2000: kpc2000_spi.c: Fix style issues (alignment)
Resolved: "CHECK: Alignment should match open parenthesis" from checkpatch Signed-off-by: Chandra Annamaneni <chandra627@gmail.com> Link: https://lore.kernel.org/r/20191029091638.16101-3-chandra627@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4d362420d
commit
e5f26f8548
|
|
@ -313,19 +313,19 @@ kp_spi_transfer_one_message(struct spi_master *master, struct spi_message *m)
|
|||
if (transfer->speed_hz > KP_SPI_CLK ||
|
||||
(len && !(rx_buf || tx_buf))) {
|
||||
dev_dbg(kpspi->dev, " transfer: %d Hz, %d %s%s, %d bpw\n",
|
||||
transfer->speed_hz,
|
||||
len,
|
||||
tx_buf ? "tx" : "",
|
||||
rx_buf ? "rx" : "",
|
||||
transfer->bits_per_word);
|
||||
transfer->speed_hz,
|
||||
len,
|
||||
tx_buf ? "tx" : "",
|
||||
rx_buf ? "rx" : "",
|
||||
transfer->bits_per_word);
|
||||
dev_dbg(kpspi->dev, " transfer -EINVAL\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
if (transfer->speed_hz &&
|
||||
transfer->speed_hz < (KP_SPI_CLK >> 15)) {
|
||||
dev_dbg(kpspi->dev, "speed_hz %d below minimum %d Hz\n",
|
||||
transfer->speed_hz,
|
||||
KP_SPI_CLK >> 15);
|
||||
transfer->speed_hz,
|
||||
KP_SPI_CLK >> 15);
|
||||
dev_dbg(kpspi->dev, " speed_hz -EINVAL\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user