OSDN Git Service

staging: iio: light: Add a blank line after declarations
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 25 Sep 2014 17:09:11 +0000 (20:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:20:30 +0000 (22:20 -0400)
This fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/tsl2x7x_core.c

index ab338e3..e0d88fa 100644 (file)
@@ -1964,6 +1964,7 @@ static int tsl2x7x_suspend(struct device *dev)
 
        if (chip->pdata && chip->pdata->platform_power) {
                pm_message_t pmm = {PM_EVENT_SUSPEND};
+
                chip->pdata->platform_power(dev, pmm);
        }
 
@@ -1978,6 +1979,7 @@ static int tsl2x7x_resume(struct device *dev)
 
        if (chip->pdata && chip->pdata->platform_power) {
                pm_message_t pmm = {PM_EVENT_RESUME};
+
                chip->pdata->platform_power(dev, pmm);
        }