Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1407620pxb; Sat, 17 Apr 2021 17:21:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNIhRJRAtu2Mf+8dPxqyLk+BkGVA/Yx6Ov1x1NKMdRxqF9JabTbmSxmWu5uqj7ws48tZeN X-Received: by 2002:aa7:c7da:: with SMTP id o26mr17735487eds.244.1618705299373; Sat, 17 Apr 2021 17:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618705299; cv=none; d=google.com; s=arc-20160816; b=CN3Ed/q4k9MGUUttx1TwydsJ3q6qMmR50Fy1OiGZbOJHTXXGCi8rbTFVJM1pzph5bR PpJrHzMabSZWAFwY46uXp6PFrodEk0vxkmO31khesKaY2La1CUanIN/IpS8ukXAcBrUA 1WBp9ZifuThqK6rWFrQvF2i5NDzPnAP/yg5bE+iHu7T2OdvBUjPyV2HYOSu/mgcyltRL J+36XTqWuqfuWwyGTFnPOL3jKdt8+xQs454t/MNAuiuRWxugAYapLouZyfSAeplxQOwy TOjJ2XL2FJB4B8/iaB0yzBAEHDcVIEWf2k3hg3aHzJaf5YLpjKEhMx0iR+CPmVxEmjzD Behg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=H6j/h6a2tw9HOPmN8Ol5BId3MUUdiMU4N+ryz4lLu4I=; b=o4ZDTqORuU1dCyKV4w7Skb6l+uijO1YxJxHu/CIlei2f/iw5UR8nClaHuydW6vKA4I J58rCY8rz056v9cVGazo91E8XnxQtDAL6mNQQusJBJQwHhQGwENIYgS+YKlraEluTqhb k33oYrYa8OfXbmOO3Eemr4LX+Ak7GBMyXqYLyaiw/7/yLgckX52ItreXhg9lybE1lLvw 90Tc7TGZRgguHw5VdqPsXSgHLFVjMiovykQPA42q6Q1XR2+qek5yETmOFJ5OZFzGXVQf Q+/3mBOr95WyLH+1JDE2d4+kJZ+khK3V6ubsib3ZV+61LMM04Udezvj/Rm/5rYZcmYXk gmYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si9588060ede.162.2021.04.17.17.21.16; Sat, 17 Apr 2021 17:21:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236181AbhDRAUz (ORCPT + 99 others); Sat, 17 Apr 2021 20:20:55 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35557 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230216AbhDRAUy (ORCPT ); Sat, 17 Apr 2021 20:20:54 -0400 X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 44F50E0006; Sun, 18 Apr 2021 00:20:26 +0000 (UTC) From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] rtc: pcf8523: remove useless define Date: Sun, 18 Apr 2021 02:20:21 +0200 Message-Id: <20210418002023.1000265-1-alexandre.belloni@bootlin.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 Drop DRIVER_NAME as it is only used once Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf8523.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-pcf8523.c b/drivers/rtc/rtc-pcf8523.c index 5e1e7b2a8c9a..fe3ab41d8326 100644 --- a/drivers/rtc/rtc-pcf8523.c +++ b/drivers/rtc/rtc-pcf8523.c @@ -9,8 +9,6 @@ #include #include -#define DRIVER_NAME "rtc-pcf8523" - #define REG_CONTROL1 0x00 #define REG_CONTROL1_CAP_SEL BIT(7) #define REG_CONTROL1_STOP BIT(5) @@ -373,7 +371,7 @@ MODULE_DEVICE_TABLE(of, pcf8523_of_match); static struct i2c_driver pcf8523_driver = { .driver = { - .name = DRIVER_NAME, + .name = "rtc-pcf8523", .of_match_table = of_match_ptr(pcf8523_of_match), }, .probe = pcf8523_probe, -- 2.30.2