Commit 19c1fb13 authored by Chad Williamson's avatar Chad Williamson Committed by Greg Kroah-Hartman

staging: silicom: fix whitespace in bp_proc.c

Remove superfluous spaces in bp_proc.c to resolve checkpatch.pl errors.
Signed-off-by: default avatarChad Williamson <chad@dahc.us>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b74af83d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
/******************************************************************************/ /******************************************************************************/
#include <linux/version.h> #include <linux/version.h>
#if defined(CONFIG_SMP) && ! defined(__SMP__) #if defined(CONFIG_SMP) && !defined(__SMP__)
#define __SMP__ #define __SMP__
#endif #endif
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define BP_PROC_DIR "bypass" #define BP_PROC_DIR "bypass"
//#define BYPASS_SUPPORT "bypass" //#define BYPASS_SUPPORT "bypass"
#ifdef BYPASS_SUPPORT #ifdef BYPASS_SUPPORT
#define GPIO6_SET_ENTRY_SD "gpio6_set" #define GPIO6_SET_ENTRY_SD "gpio6_set"
#define GPIO6_CLEAR_ENTRY_SD "gpio6_clear" #define GPIO6_CLEAR_ENTRY_SD "gpio6_clear"
...@@ -98,8 +98,8 @@ static struct proc_dir_entry *proc_getdir(char *name, ...@@ -98,8 +98,8 @@ static struct proc_dir_entry *proc_getdir(char *name,
int int
bypass_proc_create_entry_sd(struct pfs_unit *pfs_unit_curr, bypass_proc_create_entry_sd(struct pfs_unit *pfs_unit_curr,
char *proc_name, char *proc_name,
write_proc_t * write_proc, write_proc_t *write_proc,
read_proc_t * read_proc, read_proc_t *read_proc,
struct proc_dir_entry *parent_pfs, void *data) struct proc_dir_entry *parent_pfs, void *data)
{ {
strcpy(pfs_unit_curr->proc_name, proc_name); strcpy(pfs_unit_curr->proc_name, proc_name);
...@@ -1147,7 +1147,7 @@ set_hw_reset_pfs(struct file *file, const char *buffer, ...@@ -1147,7 +1147,7 @@ set_hw_reset_pfs(struct file *file, const char *buffer,
#endif /*PMC_FIX_FLAG */ #endif /*PMC_FIX_FLAG */
int bypass_proc_create_dev_sd(bpctl_dev_t * pbp_device_block) int bypass_proc_create_dev_sd(bpctl_dev_t *pbp_device_block)
{ {
struct bypass_pfs_sd *current_pfs = &(pbp_device_block->bypass_pfs_set); struct bypass_pfs_sd *current_pfs = &(pbp_device_block->bypass_pfs_set);
static struct proc_dir_entry *procfs_dir = NULL; static struct proc_dir_entry *procfs_dir = NULL;
...@@ -1327,7 +1327,7 @@ int bypass_proc_create_dev_sd(bpctl_dev_t * pbp_device_block) ...@@ -1327,7 +1327,7 @@ int bypass_proc_create_dev_sd(bpctl_dev_t * pbp_device_block)
return ret; return ret;
} }
int bypass_proc_remove_dev_sd(bpctl_dev_t * pbp_device_block) int bypass_proc_remove_dev_sd(bpctl_dev_t *pbp_device_block)
{ {
struct bypass_pfs_sd *current_pfs = &pbp_device_block->bypass_pfs_set; struct bypass_pfs_sd *current_pfs = &pbp_device_block->bypass_pfs_set;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment