From: Emmanuil Chatzipetru <chatzi.eman...@gmail.com>

Fix coding style issue caught by checkpatch.pl related to the following
warning:
        - CHECK: Alignment should match open parenthesis

Signed-off-by: Emmanuil Chatzipetru <chatzi.eman...@gmail.com>
---
 drivers/staging/greybus/arche-platform.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/greybus/arche-platform.c 
b/drivers/staging/greybus/arche-platform.c
index 19bfce684335..b0882bb04551 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -348,7 +348,7 @@ static int arche_platform_coldboot_seq(struct 
arche_platform_drvdata *arche_pdat
        ret = clk_prepare_enable(arche_pdata->svc_ref_clk);
        if (ret) {
                dev_err(arche_pdata->dev, "failed to enable svc_ref_clk: %d\n",
-                               ret);
+                       ret);
                return ret;
        }
 
@@ -383,7 +383,7 @@ static int arche_platform_fw_flashing_seq(struct 
arche_platform_drvdata *arche_p
        ret = clk_prepare_enable(arche_pdata->svc_ref_clk);
        if (ret) {
                dev_err(arche_pdata->dev, "failed to enable svc_ref_clk: %d\n",
-                               ret);
+                       ret);
                return ret;
        }
 
@@ -424,8 +424,8 @@ static void arche_platform_poweroff_seq(struct 
arche_platform_drvdata *arche_pda
        arche_platform_set_state(arche_pdata, ARCHE_PLATFORM_STATE_OFF);
 }
 
-static ssize_t state_store(struct device *dev,
-               struct device_attribute *attr, const char *buf, size_t count)
+static ssize_t state_store(struct device *dev, struct device_attribute *attr,
+                          const char *buf, size_t count)
 {
        struct platform_device *pdev = to_platform_device(dev);
        struct arche_platform_drvdata *arche_pdata = platform_get_drvdata(pdev);
@@ -498,8 +498,8 @@ static ssize_t state_store(struct device *dev,
        return ret ? ret : count;
 }
 
-static ssize_t state_show(struct device *dev,
-               struct device_attribute *attr, char *buf)
+static ssize_t state_show(struct device *dev, struct device_attribute *attr,
+                         char *buf)
 {
        struct arche_platform_drvdata *arche_pdata = dev_get_drvdata(dev);
 
@@ -579,7 +579,7 @@ static int arche_platform_probe(struct platform_device 
*pdev)
                return ret;
        }
        ret = gpio_direction_output(arche_pdata->svc_reset_gpio,
-                                       arche_pdata->is_reset_act_hi);
+                                   arche_pdata->is_reset_act_hi);
        if (ret) {
                dev_err(dev, "failed to set svc-reset gpio dir:%d\n", ret);
                return ret;
@@ -643,7 +643,7 @@ static int arche_platform_probe(struct platform_device 
*pdev)
        ret = devm_gpio_request(dev, arche_pdata->wake_detect_gpio, "wake 
detect");
        if (ret) {
                dev_err(dev, "Failed requesting wake_detect gpio %d\n",
-                               arche_pdata->wake_detect_gpio);
+                       arche_pdata->wake_detect_gpio);
                return ret;
        }
 
-- 
2.1.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to