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

Commit 3bac1c51 authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: linux_wlan_spi.c: fix NULL comparison style



This patch fixes checkpatch CHECK:comparison to NULL could be written "b".

Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d8506598
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ int wilc_spi_write(struct wilc *wilc, u8 *b, u32 len)
	int ret;
	struct spi_message msg;

	if (len > 0 && b != NULL) {
	if (len > 0 && b) {
		struct spi_transfer tr = {
			.tx_buf = b,
			.len = len,