Skip to content

Commit

Permalink
Staging: vme: Correct checkpatch errors
Browse files Browse the repository at this point in the history
Correct numerous checkpatch errors in the vme driver.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Martyn Welch authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 48d9356 commit 7946328
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 119 deletions.
9 changes: 4 additions & 5 deletions drivers/staging/vme/bridges/vme_ca91cx42.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <asm/time.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/time.h>
#include <linux/io.h>
#include <linux/uaccess.h>

#include "../vme.h"
#include "../vme_bridge.h"
Expand Down Expand Up @@ -1684,9 +1684,8 @@ static int ca91cx42_probe(struct pci_dev *pdev, const struct pci_device_id *id)
dev_info(&pdev->dev, "Slot ID is %d\n",
ca91cx42_slot_get(ca91cx42_bridge));

if (ca91cx42_crcsr_init(ca91cx42_bridge, pdev)) {
if (ca91cx42_crcsr_init(ca91cx42_bridge, pdev))
dev_err(&pdev->dev, "CR/CSR configuration failed.\n");
}

/* Need to save ca91cx42_bridge pointer locally in link list for use in
* ca91cx42_remove()
Expand Down
Loading

0 comments on commit 7946328

Please sign in to comment.