Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 103b748e authored by Marc Dietrich's avatar Marc Dietrich Committed by Greg Kroah-Hartman
Browse files

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: default avatarMarc Dietrich <marvin24@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f34f412
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;
		}