[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210715132310.31514-1-andriy.shevchenko@linux.intel.com>
Date: Thu, 15 Jul 2021 16:23:10 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Miguel Ojeda <ojeda@...nel.org>,
Lars Poeschel <poeschel@...onage.de>, Willy Tarreau <w@....eu>,
linux-kernel@...r.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v1 1/1] auxdisplay: charlcd: Drop unneeded terminator entry
Besides 0 not being, strictly speaking, a pointer it's redundant after
the actual terminator NULL entry. Drop the former for good.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
drivers/auxdisplay/charlcd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay/charlcd.c
index 24fd6f369ebe..e9bc5fb4da28 100644
--- a/drivers/auxdisplay/charlcd.c
+++ b/drivers/auxdisplay/charlcd.c
@@ -638,8 +638,7 @@ static int panel_notify_sys(struct notifier_block *this, unsigned long code,
static struct notifier_block panel_notifier = {
panel_notify_sys,
- NULL,
- 0
+ NULL
};
int charlcd_register(struct charlcd *lcd)
--
2.30.2
Powered by blists - more mailing lists