summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/ichxrom.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-22 11:16:28 +0100
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-22 11:16:28 +0100
commit7bf350b7245b40fe6a57b79ec4a04c85195dc648 (patch)
tree9f0d310cc067eff97d78361e41372fd6c9b81126 /drivers/mtd/maps/ichxrom.c
parentmtd: remove use of __devexit (diff)
downloadlinux-7bf350b7245b40fe6a57b79ec4a04c85195dc648.tar.xz
linux-7bf350b7245b40fe6a57b79ec4a04c85195dc648.zip
mtd: fix a number of checkpatch complaints
While checking the "__devinit" removal patches with checkpatch.pl, I noticed several warnings related to a space between the function name and '(', as well as long lines. I fixed the warnings up in this patch. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/maps/ichxrom.c')
-rw-r--r--drivers/mtd/maps/ichxrom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/ichxrom.c b/drivers/mtd/maps/ichxrom.c
index 03d60efda277..c7478e18f485 100644
--- a/drivers/mtd/maps/ichxrom.c
+++ b/drivers/mtd/maps/ichxrom.c
@@ -84,8 +84,8 @@ static void ichxrom_cleanup(struct ichxrom_window *window)
}
-static int ichxrom_init_one (struct pci_dev *pdev,
- const struct pci_device_id *ent)
+static int ichxrom_init_one(struct pci_dev *pdev,
+ const struct pci_device_id *ent)
{
static char *rom_probe_types[] = { "cfi_probe", "jedec_probe", NULL };
struct ichxrom_window *window = &ichxrom_window;
@@ -315,7 +315,7 @@ static int ichxrom_init_one (struct pci_dev *pdev,
}
-static void ichxrom_remove_one (struct pci_dev *pdev)
+static void ichxrom_remove_one(struct pci_dev *pdev)
{
struct ichxrom_window *window = &ichxrom_window;
ichxrom_cleanup(window);