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

Commit 26b89d7d authored by Slawomir Stepien's avatar Slawomir Stepien Committed by Jonathan Cameron
Browse files

iio: magnetometer: ak8975: put else and brace at the same line



This fixes the error reported by checkpatch.pl:

ERROR: else should follow close brace '}'

Signed-off-by: default avatarSlawomir Stepien <sst@poczta.fm>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent d23057e0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -882,8 +882,7 @@ static int ak8975_probe(struct i2c_client *client,
		name = ak8975_match_acpi_device(&client->dev, &chipset);
		if (!name)
			return -ENODEV;
	}
	else
	} else
		return -ENOSYS;

	if (chipset >= AK_MAX_TYPE) {