Commit df4c756e authored by Carlos Palminha's avatar Carlos Palminha Committed by Greg Kroah-Hartman

parport: cleanup statics initialization to NULL or 0

based on checkpatch, cleanup the "do not initialise statics to" 0 or NULL.
Signed-off-by: default avatarCarlos Palminha <palminha@synopsys.com>
Signed-off-by: default avatarSudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6979b928
...@@ -44,7 +44,7 @@ static struct daisydev { ...@@ -44,7 +44,7 @@ static struct daisydev {
} *topology = NULL; } *topology = NULL;
static DEFINE_SPINLOCK(topology_lock); static DEFINE_SPINLOCK(topology_lock);
static int numdevs = 0; static int numdevs;
/* Forward-declaration of lower-level functions. */ /* Forward-declaration of lower-level functions. */
static int mux_present(struct parport *port); static int mux_present(struct parport *port);
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/atariints.h> #include <asm/atariints.h>
static struct parport *this_port = NULL; static struct parport *this_port;
static unsigned char static unsigned char
parport_atari_read_data(struct parport *p) parport_atari_read_data(struct parport *p)
......
...@@ -138,7 +138,7 @@ static unsigned int features = ~0U; ...@@ -138,7 +138,7 @@ static unsigned int features = ~0U;
static bool verbose_probing = DEFAULT_VERBOSE_PROBING; static bool verbose_probing = DEFAULT_VERBOSE_PROBING;
/* We do not support more than one port. */ /* We do not support more than one port. */
static struct parport *this_port = NULL; static struct parport *this_port;
/* Timing constants for FIFO modes. */ /* Timing constants for FIFO modes. */
#define FIFO_NFAULT_TIMEOUT 100 /* milliseconds */ #define FIFO_NFAULT_TIMEOUT 100 /* milliseconds */
......
...@@ -174,7 +174,7 @@ DPRINTK(KERN_DEBUG "read_status %02x\n", status); ...@@ -174,7 +174,7 @@ DPRINTK(KERN_DEBUG "read_status %02x\n", status);
return status; return status;
} }
static int use_cnt = 0; static int use_cnt;
static irqreturn_t mfc3_interrupt(int irq, void *dev_id) static irqreturn_t mfc3_interrupt(int irq, void *dev_id)
{ {
......
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