summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2012-07-22 12:28:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-13 19:25:48 -0700
commit103b748e21ced078f868f9218cef85b0917cebb2 (patch)
tree681f01592a7b3e264dfc7d12b9105fb30d5ab058 /drivers
parent7f34f412896aa493fd99a8dc745cfd2ec3a55103 (diff)
downloadlinux-103b748e21ced078f868f9218cef85b0917cebb2.tar.gz
linux-103b748e21ced078f868f9218cef85b0917cebb2.tar.bz2
linux-103b748e21ced078f868f9218cef85b0917cebb2.zip
Staging: nvec: fix coding style issues
This commit fixes coding style issues that includes long lines. Based on the original patch submitted by Adnan Ali <adnan.ali@codethink.co.uk> Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/nvec/nvec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 3655d8639736..fb52fe0d13ce 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -736,12 +736,14 @@ static int __devinit tegra_nvec_probe(struct platform_device *pdev)
nvec->gpio = pdata->gpio;
nvec->i2c_addr = pdata->i2c_addr;
} else if (nvec->dev->of_node) {
- nvec->gpio = of_get_named_gpio(nvec->dev->of_node, "request-gpios", 0);
+ nvec->gpio = of_get_named_gpio(nvec->dev->of_node,
+ "request-gpios", 0);
if (nvec->gpio < 0) {
dev_err(&pdev->dev, "no gpio specified");
return -ENODEV;
}
- if (of_property_read_u32(nvec->dev->of_node, "slave-addr", &nvec->i2c_addr)) {
+ if (of_property_read_u32(nvec->dev->of_node,
+ "slave-addr", &nvec->i2c_addr)) {
dev_err(&pdev->dev, "no i2c address specified");
return -ENODEV;
}