Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1398760pxb; Sat, 17 Apr 2021 17:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwARKEkZZPA+w/6Wz19M0pEbAhcwkqihwPmW9tdoi004v79uI7I97jRRd0ZAw7dY3kcZMXY X-Received: by 2002:a17:907:3e13:: with SMTP id hp19mr11669964ejc.276.1618704118402; Sat, 17 Apr 2021 17:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618704118; cv=none; d=google.com; s=arc-20160816; b=rjhkPFXNENVMDRmEGqj7DeEsBffRV4XFIVh1dhoibKVTnUeuOu4pTZVVSa19yiHkZF KnKUWSeipb00L/HLJ6o1Z8X2NxnF5j0l0rC2NLYlXrOEOuza4ChxSc6HhUsd3WMlMgdC G8MoSt6feDBaX8k7VIfXgjt2XX/nS3GTWzsuK1xijQtISBFSlUicWzVzbzP2ALApVqvZ XDuBiKeOzB4jFkPU+s42+yoys+kdceBV1LDk10fkxkxdDHzkIFA8P+cM1YZSiWXgzrVn 4OjN8bb3bfJAlIf8ueePAuj/CmRpAqXwm4ifA9yl5xbEity40cZbcMiYdnGxaBfkx1yi N0gQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=N7fXlWU+FNyzVaxebI2scR/XiJ7zWzpFywvgs6PxUa4=; b=ikeSe5qQ8jxm/iJihMNmyKbECndK4Ut3E838fpC5d8swkAIYgXuCnkHiYoW1Yosbo2 HIex1XIEzy1nGoK8YDmP/fDNp9/vh7RszDEpPXzDeCnOSA5a8MP76Yj7Psi1OrGtaa2o nGkz7HN3GtkpqCAj6apTpJ57DLwJTuDG/peVeGLxDmAqeeCCyaCAGlvhuv2pEVL2GorC YECrNSL0tLpYV3AWsIcyp3lyyRzw8m/no+X0aXn8UtsLbdBItNeNmuUIzgfA8udQyGim Zypx2Nl3mUZr+2ozV/blKnaIRZz74js7dLpsRFLuPsPp8K7W2IOTyZVuGbb6yde8n6Af hNGQ== 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 cb26si1939954edb.240.2021.04.17.17.01.35; Sat, 17 Apr 2021 17:01:58 -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 S235986AbhDRAA6 (ORCPT + 99 others); Sat, 17 Apr 2021 20:00:58 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:41911 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbhDRAA5 (ORCPT ); Sat, 17 Apr 2021 20:00:57 -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 0018AE0006; Sun, 18 Apr 2021 00:00:28 +0000 (UTC) From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: =?UTF-8?q?=C5=81ukasz=20Stelmach?= , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] rtc: ds1307: remove flags Date: Sun, 18 Apr 2021 02:00:22 +0200 Message-Id: <20210418000023.995758-2-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210418000023.995758-1-alexandre.belloni@bootlin.com> References: <20210418000023.995758-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org flags is now unused, drop it. Tested-by: Łukasz Stelmach Reviewed-by: Łukasz Stelmach Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index 76d67c419f7d..089509d0a3a0 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c @@ -169,8 +169,6 @@ enum ds_type { struct ds1307 { enum ds_type type; - unsigned long flags; -#define HAS_NVRAM 0 /* bit 0 == sysfs file active */ struct device *dev; struct regmap *regmap; const char *name; -- 2.30.2