[PATCH v1 1/1] auxdisplay: charlcd: Drop unneeded terminator entry

From: Andy Shevchenko
Date: Thu Jul 15 2021 - 09:22:52 EST


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@xxxxxxxxxxxxxxx>
---
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