drivers/base: use tabs where possible in code indentation
authorLavinia Tache <lavinia.tachee@gmail.com>
Sun, 8 Mar 2015 20:33:44 +0000 (22:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2015 13:37:35 +0000 (14:37 +0100)
Linux kernel coding style require that tabs should be used instead of
spaces for code indentation.
Problem found using checkpatch.pl script.

Signed-off-by: Lavinia Tache <lavinia.tachee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/soc.c

index 72b5e7280d14792e6d83f3a59e4d4793d20fe28c..39fca01c8fa19a295e3988adbd8c1e351bf24d3a 100644 (file)
@@ -43,8 +43,8 @@ struct device *soc_device_to_device(struct soc_device *soc_dev)
 }
 
 static umode_t soc_attribute_mode(struct kobject *kobj,
-                                 struct attribute *attr,
-                                 int index)
+                               struct attribute *attr,
+                               int index)
 {
        struct device *dev = container_of(kobj, struct device, kobj);
        struct soc_device *soc_dev = container_of(dev, struct soc_device, dev);
@@ -60,7 +60,7 @@ static umode_t soc_attribute_mode(struct kobject *kobj,
                return attr->mode;
        if ((attr == &dev_attr_soc_id.attr)
            && (soc_dev->attr->soc_id != NULL))
-               return attr->mode;
+               return attr->mode;
 
        /* Unknown or unfilled attribute. */
        return 0;
@@ -117,7 +117,7 @@ struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr
 
        soc_dev = kzalloc(sizeof(*soc_dev), GFP_KERNEL);
        if (!soc_dev) {
-               ret = -ENOMEM;
+               ret = -ENOMEM;
                goto out1;
        }
 
@@ -135,7 +135,7 @@ struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr
        } while (ret == -EAGAIN);
 
        if (ret)
-                goto out2;
+               goto out2;
 
        soc_dev->attr = soc_dev_attr;
        soc_dev->dev.bus = &soc_bus_type;
This page took 0.025377 seconds and 5 git commands to generate.