mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue