Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/base: use tabs where possible in code indentation

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>

authored by

Lavinia Tache and committed by
Greg Kroah-Hartman
2071b950 74642c6c

+5 -5
+5 -5
drivers/base/soc.c
··· 43 43 } 44 44 45 45 static umode_t soc_attribute_mode(struct kobject *kobj, 46 - struct attribute *attr, 47 - int index) 46 + struct attribute *attr, 47 + int index) 48 48 { 49 49 struct device *dev = container_of(kobj, struct device, kobj); 50 50 struct soc_device *soc_dev = container_of(dev, struct soc_device, dev); ··· 60 60 return attr->mode; 61 61 if ((attr == &dev_attr_soc_id.attr) 62 62 && (soc_dev->attr->soc_id != NULL)) 63 - return attr->mode; 63 + return attr->mode; 64 64 65 65 /* Unknown or unfilled attribute. */ 66 66 return 0; ··· 117 117 118 118 soc_dev = kzalloc(sizeof(*soc_dev), GFP_KERNEL); 119 119 if (!soc_dev) { 120 - ret = -ENOMEM; 120 + ret = -ENOMEM; 121 121 goto out1; 122 122 } 123 123 ··· 135 135 } while (ret == -EAGAIN); 136 136 137 137 if (ret) 138 - goto out2; 138 + goto out2; 139 139 140 140 soc_dev->attr = soc_dev_attr; 141 141 soc_dev->dev.bus = &soc_bus_type;