Staging: ste_rmi4: add new line after declarations
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Sat, 20 Sep 2014 23:49:15 +0000 (05:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 20:44:11 +0000 (13:44 -0700)
This patch fixes checkpatch.pl warning in synaptics_i2c_rmi4.c file
WARNING : Missing a blank line after declarations

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c

index 28b393071026318eea30591a81e7d66ce250ded7..f92ae1d24f9f9a5ba417777294e8c2eb2ce428ea 100644 (file)
@@ -415,6 +415,7 @@ static int synaptics_rmi4_report_device(struct synaptics_rmi4_data *pdata,
        int touch = 0;
        struct  i2c_client *client = pdata->i2c_client;
        static int num_error_reports;
+
        if (rfi->fn_number != SYNAPTICS_RMI4_TOUCHPAD_FUNC_NUM) {
                num_error_reports++;
                if (num_error_reports < MAX_ERROR_REPORT)
@@ -485,6 +486,7 @@ static irqreturn_t synaptics_rmi4_irq(int irq, void *data)
 {
        struct synaptics_rmi4_data *pdata = data;
        int touch_count;
+
        do {
                touch_count = synaptics_rmi4_sensor_report(pdata);
                if (touch_count)