提交 ca6a32f3 编写于 作者: T Tapasweni Pathak 提交者: Greg Kroah-Hartman

Staging: ste_rmi4: add new line after declarations

This patch fixes checkpatch.pl warning in synaptics_i2c_rmi4.c file
WARNING : Missing a blank line after declarations
Signed-off-by: NTapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 3b9999ec
...@@ -415,6 +415,7 @@ static int synaptics_rmi4_report_device(struct synaptics_rmi4_data *pdata, ...@@ -415,6 +415,7 @@ static int synaptics_rmi4_report_device(struct synaptics_rmi4_data *pdata,
int touch = 0; int touch = 0;
struct i2c_client *client = pdata->i2c_client; struct i2c_client *client = pdata->i2c_client;
static int num_error_reports; static int num_error_reports;
if (rfi->fn_number != SYNAPTICS_RMI4_TOUCHPAD_FUNC_NUM) { if (rfi->fn_number != SYNAPTICS_RMI4_TOUCHPAD_FUNC_NUM) {
num_error_reports++; num_error_reports++;
if (num_error_reports < MAX_ERROR_REPORT) if (num_error_reports < MAX_ERROR_REPORT)
...@@ -485,6 +486,7 @@ static irqreturn_t synaptics_rmi4_irq(int irq, void *data) ...@@ -485,6 +486,7 @@ static irqreturn_t synaptics_rmi4_irq(int irq, void *data)
{ {
struct synaptics_rmi4_data *pdata = data; struct synaptics_rmi4_data *pdata = data;
int touch_count; int touch_count;
do { do {
touch_count = synaptics_rmi4_sensor_report(pdata); touch_count = synaptics_rmi4_sensor_report(pdata);
if (touch_count) if (touch_count)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册