From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBCFCC07E96 for ; Thu, 15 Jul 2021 13:22:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC67961004 for ; Thu, 15 Jul 2021 13:22:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237505AbhGONZo (ORCPT ); Thu, 15 Jul 2021 09:25:44 -0400 Received: from mga18.intel.com ([134.134.136.126]:3098 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232558AbhGONZn (ORCPT ); Thu, 15 Jul 2021 09:25:43 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10045"; a="197809764" X-IronPort-AV: E=Sophos;i="5.84,242,1620716400"; d="scan'208";a="197809764" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2021 06:22:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,242,1620716400"; d="scan'208";a="505793494" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 15 Jul 2021 06:22:48 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 0E815262; Thu, 15 Jul 2021 16:23:14 +0300 (EEST) From: Andy Shevchenko To: Miguel Ojeda , Lars Poeschel , Willy Tarreau , linux-kernel@vger.kernel.org Cc: Andy Shevchenko Subject: [PATCH v1 1/1] auxdisplay: charlcd: Drop unneeded terminator entry Date: Thu, 15 Jul 2021 16:23:10 +0300 Message-Id: <20210715132310.31514-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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