[PATCH] iio: temperature: Add a blank line after declarations

Daniel Baluta daniel.baluta at gmail.com
Tue Dec 16 11:18:49 EET 2014


On Sat, Dec 13, 2014 at 12:37 PM, Roberta Dobrescu
<roberta.dobrescu at gmail.com> wrote:
> 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/temperature/tmp006.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/temperature/tmp006.c b/drivers/iio/temperature/tmp006.c
> index 84a0789..9ba4205 100644
> --- a/drivers/iio/temperature/tmp006.c
> +++ b/drivers/iio/temperature/tmp006.c
> @@ -253,6 +253,7 @@ static int tmp006_remove(struct i2c_client *client)
>  static int tmp006_suspend(struct device *dev)
>  {
>         struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev));
> +
>         return tmp006_powerdown(iio_priv(indio_dev));
>  }
>

Looks good.


More information about the firefly mailing list