summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-viperboard.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-07-17 13:01:23 +0100
committerWolfram Sang <wsa@the-dreams.de>2015-08-10 08:37:38 +0200
commit66621f96c95175cc64d91dd213781bf65bbf8ec4 (patch)
tree2279017b7ac9c1dbdf4a408db5855b7f95b138e0 /drivers/i2c/busses/i2c-viperboard.c
parenta1f64317bbf5febe4c763cd6e022d533a802b847 (diff)
downloadtalos-op-linux-66621f96c95175cc64d91dd213781bf65bbf8ec4.tar.gz
talos-op-linux-66621f96c95175cc64d91dd213781bf65bbf8ec4.zip
i2c: viperboard: clean up inconsistent indenting
Minor clean up of indenting, no functional change Signed-off-by: Colin Ian King <colin.king@canonical.com> [wsa: squashed two lines into one] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-viperboard.c')
-rw-r--r--drivers/i2c/busses/i2c-viperboard.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
index 47e88adf2011..543456a0a338 100644
--- a/drivers/i2c/busses/i2c-viperboard.c
+++ b/drivers/i2c/busses/i2c-viperboard.c
@@ -391,11 +391,11 @@ static int vprbrd_i2c_probe(struct platform_device *pdev)
VPRBRD_USB_REQUEST_I2C_FREQ, VPRBRD_USB_TYPE_OUT,
0x0000, 0x0000, &vb_i2c->bus_freq_param, 1,
VPRBRD_USB_TIMEOUT_MS);
- if (ret != 1) {
- dev_err(&pdev->dev,
- "failure setting i2c_bus_freq to %d\n", i2c_bus_freq);
- return -EIO;
- }
+ if (ret != 1) {
+ dev_err(&pdev->dev, "failure setting i2c_bus_freq to %d\n",
+ i2c_bus_freq);
+ return -EIO;
+ }
} else {
dev_err(&pdev->dev,
"invalid i2c_bus_freq setting:%d\n", i2c_bus_freq);
OpenPOWER on IntegriCloud