staging: nvec: Fix alignment with the open parenthesis
Alignment should match open parenthesis. Checkpatch detected these issues. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d09c2a84e8
commit
a4fe05d566
@@ -316,7 +316,8 @@ int nvec_write_sync(struct nvec_chip *nvec,
|
||||
nvec->sync_write_pending);
|
||||
if (!(wait_for_completion_timeout(&nvec->sync_write,
|
||||
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);
|
||||
return -ETIMEDOUT;
|
||||
}
|
||||
@@ -493,8 +494,8 @@ static void nvec_rx_completed(struct nvec_chip *nvec)
|
||||
{
|
||||
if (nvec->rx->pos != nvec_msg_size(nvec->rx)) {
|
||||
dev_err(nvec->dev, "RX incomplete: Expected %u bytes, got %u\n",
|
||||
(uint) nvec_msg_size(nvec->rx),
|
||||
(uint) nvec->rx->pos);
|
||||
(uint)nvec_msg_size(nvec->rx),
|
||||
(uint)nvec->rx->pos);
|
||||
|
||||
nvec_msg_free(nvec, nvec->rx);
|
||||
nvec->state = 0;
|
||||
@@ -883,8 +884,10 @@ static int tegra_nvec_probe(struct platform_device *pdev)
|
||||
err = nvec_write_sync(nvec, get_firmware_version, 2, &msg);
|
||||
|
||||
if (!err) {
|
||||
dev_warn(nvec->dev, "ec firmware version %02x.%02x.%02x / %02x\n",
|
||||
msg->data[4], msg->data[5], msg->data[6], msg->data[7]);
|
||||
dev_warn(nvec->dev,
|
||||
"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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user