Commit a4fe05d5 authored by Laura Garcia Liebana's avatar Laura Garcia Liebana Committed by Greg Kroah-Hartman

staging: nvec: Fix alignment with the open parenthesis

Alignment should match open parenthesis. Checkpatch detected these
issues.
Signed-off-by: default avatarLaura Garcia Liebana <nevola@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d09c2a84
...@@ -316,7 +316,8 @@ int nvec_write_sync(struct nvec_chip *nvec, ...@@ -316,7 +316,8 @@ int nvec_write_sync(struct nvec_chip *nvec,
nvec->sync_write_pending); nvec->sync_write_pending);
if (!(wait_for_completion_timeout(&nvec->sync_write, if (!(wait_for_completion_timeout(&nvec->sync_write,
msecs_to_jiffies(2000)))) { msecs_to_jiffies(2000)))) {
dev_warn(nvec->dev, "timeout waiting for sync write to complete\n"); dev_warn(nvec->dev,
"timeout waiting for sync write to complete\n");
mutex_unlock(&nvec->sync_write_mutex); mutex_unlock(&nvec->sync_write_mutex);
return -ETIMEDOUT; return -ETIMEDOUT;
} }
...@@ -493,8 +494,8 @@ static void nvec_rx_completed(struct nvec_chip *nvec) ...@@ -493,8 +494,8 @@ static void nvec_rx_completed(struct nvec_chip *nvec)
{ {
if (nvec->rx->pos != nvec_msg_size(nvec->rx)) { if (nvec->rx->pos != nvec_msg_size(nvec->rx)) {
dev_err(nvec->dev, "RX incomplete: Expected %u bytes, got %u\n", dev_err(nvec->dev, "RX incomplete: Expected %u bytes, got %u\n",
(uint) nvec_msg_size(nvec->rx), (uint)nvec_msg_size(nvec->rx),
(uint) nvec->rx->pos); (uint)nvec->rx->pos);
nvec_msg_free(nvec, nvec->rx); nvec_msg_free(nvec, nvec->rx);
nvec->state = 0; nvec->state = 0;
...@@ -883,8 +884,10 @@ static int tegra_nvec_probe(struct platform_device *pdev) ...@@ -883,8 +884,10 @@ static int tegra_nvec_probe(struct platform_device *pdev)
err = nvec_write_sync(nvec, get_firmware_version, 2, &msg); err = nvec_write_sync(nvec, get_firmware_version, 2, &msg);
if (!err) { if (!err) {
dev_warn(nvec->dev, "ec firmware version %02x.%02x.%02x / %02x\n", dev_warn(nvec->dev,
msg->data[4], msg->data[5], msg->data[6], msg->data[7]); "ec firmware version %02x.%02x.%02x / %02x\n",
msg->data[4], msg->data[5],
msg->data[6], msg->data[7]);
nvec_msg_free(nvec, msg); nvec_msg_free(nvec, msg);
} }
......
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