Commit ad697b96 authored by Luis Ortega's avatar Luis Ortega Committed by Dmitry Torokhov

Input: zforce - fix lines exceeding 80 columns

Fixed lines exceeding 80 characters long wherever possible,
as per the coding style.
Signed-off-by: default avatarLuis Ortega <luiorpe1@upv.es>
Acked-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent deb49819
...@@ -235,7 +235,8 @@ static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, ...@@ -235,7 +235,8 @@ static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger,
(finger & 0xff), ((finger >> 8) & 0xff), (finger & 0xff), ((finger >> 8) & 0xff),
(stylus & 0xff), ((stylus >> 8) & 0xff) }; (stylus & 0xff), ((stylus >> 8) & 0xff) };
dev_dbg(&client->dev, "set scan frequency to (idle: %d, finger: %d, stylus: %d)\n", dev_dbg(&client->dev,
"set scan frequency to (idle: %d, finger: %d, stylus: %d)\n",
idle, finger, stylus); idle, finger, stylus);
return zforce_send_wait(ts, &buf[0], ARRAY_SIZE(buf)); return zforce_send_wait(ts, &buf[0], ARRAY_SIZE(buf));
...@@ -332,7 +333,8 @@ static int zforce_touch_event(struct zforce_ts *ts, u8 *payload) ...@@ -332,7 +333,8 @@ static int zforce_touch_event(struct zforce_ts *ts, u8 *payload)
count = payload[0]; count = payload[0];
if (count > ZFORCE_REPORT_POINTS) { if (count > ZFORCE_REPORT_POINTS) {
dev_warn(&client->dev, "too many coordinates %d, expected max %d\n", dev_warn(&client->dev,
"too many coordinates %d, expected max %d\n",
count, ZFORCE_REPORT_POINTS); count, ZFORCE_REPORT_POINTS);
count = ZFORCE_REPORT_POINTS; count = ZFORCE_REPORT_POINTS;
} }
...@@ -485,8 +487,8 @@ static irqreturn_t zforce_interrupt(int irq, void *dev_id) ...@@ -485,8 +487,8 @@ static irqreturn_t zforce_interrupt(int irq, void *dev_id)
while (!gpio_get_value(pdata->gpio_int)) { while (!gpio_get_value(pdata->gpio_int)) {
ret = zforce_read_packet(ts, payload_buffer); ret = zforce_read_packet(ts, payload_buffer);
if (ret < 0) { if (ret < 0) {
dev_err(&client->dev, "could not read packet, ret: %d\n", dev_err(&client->dev,
ret); "could not read packet, ret: %d\n", ret);
break; break;
} }
...@@ -530,7 +532,8 @@ static irqreturn_t zforce_interrupt(int irq, void *dev_id) ...@@ -530,7 +532,8 @@ static irqreturn_t zforce_interrupt(int irq, void *dev_id)
payload[RESPONSE_DATA + 4]; payload[RESPONSE_DATA + 4];
ts->version_rev = (payload[RESPONSE_DATA + 7] << 8) | ts->version_rev = (payload[RESPONSE_DATA + 7] << 8) |
payload[RESPONSE_DATA + 6]; payload[RESPONSE_DATA + 6];
dev_dbg(&ts->client->dev, "Firmware Version %04x:%04x %04x:%04x\n", dev_dbg(&ts->client->dev,
"Firmware Version %04x:%04x %04x:%04x\n",
ts->version_major, ts->version_minor, ts->version_major, ts->version_minor,
ts->version_build, ts->version_rev); ts->version_build, ts->version_rev);
...@@ -543,7 +546,8 @@ static irqreturn_t zforce_interrupt(int irq, void *dev_id) ...@@ -543,7 +546,8 @@ static irqreturn_t zforce_interrupt(int irq, void *dev_id)
break; break;
default: default:
dev_err(&ts->client->dev, "unrecognized response id: 0x%x\n", dev_err(&ts->client->dev,
"unrecognized response id: 0x%x\n",
payload[RESPONSE_ID]); payload[RESPONSE_ID]);
break; break;
} }
...@@ -609,7 +613,8 @@ static int zforce_suspend(struct device *dev) ...@@ -609,7 +613,8 @@ static int zforce_suspend(struct device *dev)
enable_irq_wake(client->irq); enable_irq_wake(client->irq);
} else if (input->users) { } else if (input->users) {
dev_dbg(&client->dev, "suspend without being a wakeup source\n"); dev_dbg(&client->dev,
"suspend without being a wakeup source\n");
ret = zforce_stop(ts); ret = zforce_stop(ts);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment