Messages in this thread Patch in this message | | | From | Andy Shevchenko <> | Subject | [PATCH v1 1/1] auxdisplay: charlcd: Drop unneeded terminator entry | Date | Thu, 15 Jul 2021 16:23:10 +0300 |
| |
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@linux.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
| |