mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
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: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
d23057e0ca
commit
26b89d7d2b
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user