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

Commit 50e44430 authored by Laurent Navet's avatar Laurent Navet Committed by Linus Walleij
Browse files

gpio: gpio-pca953x.c: fix checkpatch error



Fix :
 gpio/gpio-pca953x.c:150: ERROR: else should follow close brace '}'

Signed-off-by: default avatarLaurent Navet <laurent.navet@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e83507b7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -146,8 +146,7 @@ static int pca953x_write_regs(struct pca953x_chip *chip, int reg, u8 *val)
		ret = i2c_smbus_write_i2c_block_data(chip->client,
					(reg << bank_shift) | REG_ADDR_AI,
					NBANK(chip), val);
	}
	else {
	} else {
		switch (chip->chip_type) {
		case PCA953X_TYPE:
			ret = i2c_smbus_write_word_data(chip->client,