]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mfd: cs5535-mfd: Add missing line spacing and make local array static
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 16:44:58 +0000 (16:44 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:44:02 +0000 (08:44 +0000)
commit740c19895917d9a25abea65fb20fb13af764ac09
tree55aa057085a893b1dbcefe08f1d0939945395943
parent8827a642a4635d5e696037f9213cb1d015d4cec3
mfd: cs5535-mfd: Add missing line spacing and make local array static

WARNING: Missing a blank line after declarations
+       struct resource *res;
+       res = platform_get_resource(pdev, IORESOURCE_IO, 0);

WARNING: char * array declaration might be better as static const
+       const char *acpi_clones[] = { "olpc-xo1-pm-acpi", "olpc-xo1-sci-acpi" };

total: 0 errors, 2 warnings, 192 lines checked

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cs5535-mfd.c