[PATCH] iio: pressure: Add blank line after declarations
Roberta Dobrescu
roberta.dobrescu at gmail.com
Sat Dec 13 12:23:16 EET 2014
This patch fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations
Signed-off-by: Roberta Dobrescu <roberta.dobrescu at gmail.com>
---
drivers/iio/pressure/mpl115.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/pressure/mpl115.c b/drivers/iio/pressure/mpl115.c
index f5ecd6e..282c59c 100644
--- a/drivers/iio/pressure/mpl115.c
+++ b/drivers/iio/pressure/mpl115.c
@@ -37,6 +37,7 @@ struct mpl115_data {
static int mpl115_request(struct mpl115_data *data)
{
int ret = i2c_smbus_write_byte_data(data->client, MPL115_CONVERT, 0);
+
if (ret < 0)
return ret;
--
1.9.1
More information about the firefly
mailing list