aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport/parport_ip32.c
diff options
context:
space:
mode:
authorCarlos Palminha <CARLOS.PALMINHA@synopsys.com>2017-08-12 22:45:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 17:25:43 +0200
commitdf4c756e5f6bf08bd7bc63bbfd7fa921a855f241 (patch)
tree79a23d6603c7c44fe6c0f383c18f8ef31f336b58 /drivers/parport/parport_ip32.c
parentparport_pc: use pr_cont (diff)
downloadlinux-dev-df4c756e5f6bf08bd7bc63bbfd7fa921a855f241.tar.xz
linux-dev-df4c756e5f6bf08bd7bc63bbfd7fa921a855f241.zip
parport: cleanup statics initialization to NULL or 0
based on checkpatch, cleanup the "do not initialise statics to" 0 or NULL. Signed-off-by: Carlos Palminha <palminha@synopsys.com> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport/parport_ip32.c')
-rw-r--r--drivers/parport/parport_ip32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_ip32.c b/drivers/parport/parport_ip32.c
index dcbeeb220dda..0186db7680d4 100644
--- a/drivers/parport/parport_ip32.c
+++ b/drivers/parport/parport_ip32.c
@@ -138,7 +138,7 @@ static unsigned int features = ~0U;
static bool verbose_probing = DEFAULT_VERBOSE_PROBING;
/* We do not support more than one port. */
-static struct parport *this_port = NULL;
+static struct parport *this_port;
/* Timing constants for FIFO modes. */
#define FIFO_NFAULT_TIMEOUT 100 /* milliseconds */