提交 26b89d7d 编写于 作者: S Slawomir Stepien 提交者: Jonathan Cameron

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: NSlawomir Stepien <sst@poczta.fm>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 d23057e0
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册