Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d3496c3 authored by Namrata A Shettar's avatar Namrata A Shettar Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: wilc_spi: Remove unnecessary blank lines



Remove unnecessary blank lines to resolve checkpatch issue.

Signed-off-by: default avatarNamrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8244d269
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -544,7 +544,6 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
					}
					}
				}
				}



				ix += nbytes;
				ix += nbytes;
				sz -= nbytes;
				sz -= nbytes;
			}
			}
@@ -580,7 +579,6 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
				if (result == N_FAIL)
				if (result == N_FAIL)
					break;
					break;



				/**
				/**
				 * Read bytes
				 * Read bytes
				 **/
				 **/
@@ -680,7 +678,6 @@ static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz)
		sz -= nbytes;
		sz -= nbytes;
	} while (sz);
	} while (sz);



	return result;
	return result;
}
}


@@ -843,7 +840,6 @@ static int wilc_spi_init(struct wilc *wilc, bool resume)
	static int isinit;
	static int isinit;


	if (isinit) {
	if (isinit) {

		if (!wilc_spi_read_reg(wilc, 0x1000, &chipid)) {
		if (!wilc_spi_read_reg(wilc, 0x1000, &chipid)) {
			dev_err(&spi->dev, "Fail cmd read chip id...\n");
			dev_err(&spi->dev, "Fail cmd read chip id...\n");
			return 0;
			return 0;
@@ -883,7 +879,6 @@ static int wilc_spi_init(struct wilc *wilc, bool resume)
		g_spi.crc_off = 1;
		g_spi.crc_off = 1;
	}
	}



	/**
	/**
	 *      make sure can read back chip id correctly
	 *      make sure can read back chip id correctly
	 **/
	 **/
@@ -924,14 +919,10 @@ static int wilc_spi_read_size(struct wilc *wilc, u32 *size)
		*size = tmp;
		*size = tmp;
	}
	}




_fail_:
_fail_:
	return ret;
	return ret;
}
}




static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
{
{
	struct spi_device *spi = to_spi_device(wilc->dev);
	struct spi_device *spi = to_spi_device(wilc->dev);
@@ -986,7 +977,6 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
		}
		}


		*int_status = tmp;
		*int_status = tmp;

	}
	}


_fail_:
_fail_: