Skip to content

Commit 211f8a0

Browse files
Jay Fangbroonie
authored andcommitted
spi: dln2: Fix open brace following function definitions go on the next line
Fix checkpatch error: ERROR: open brace '{' following function definitions go on the next line torvalds#545: FILE: spi-dln2.c:545: +static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data, + u8 *rx_data, u16 data_len, u8 attr) { Signed-off-by: Jay Fang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 99b3a36 commit 211f8a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/spi/spi-dln2.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ static int dln2_spi_read_write_one(struct dln2_spi *dln2, const u8 *tx_data,
543543
* single ones due to device buffer constraints.
544544
*/
545545
static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data,
546-
u8 *rx_data, u16 data_len, u8 attr) {
546+
u8 *rx_data, u16 data_len, u8 attr)
547+
{
547548
int ret;
548549
u16 len;
549550
u8 temp_attr;

0 commit comments

Comments
 (0)