Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3966259pxf; Mon, 29 Mar 2021 17:05:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR9eRfB4FrZBdvm5sxc/xiNzoDzClCCNctynDVDBYJ4MffHkzj+aXajuPtMJU4Er1igF97 X-Received: by 2002:a17:906:22d4:: with SMTP id q20mr31815274eja.54.1617062725770; Mon, 29 Mar 2021 17:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617062725; cv=none; d=google.com; s=arc-20160816; b=UVFhzGWrVVdmizuk5iUBbF3+yuRORRFcncanZuYijJXk30K3/xE62ThgNQI/ZJk4p8 Dcb5ftZ394DGh6CFmlfl1i6cI2DoKDbxobIGZRLEkUim87C+J3Hgqav1It/pPGp8eji9 xIIvwf4ErlenQxrtUx3urNo1Ss+S6gPyaavwXApYPgqJI98TS3wFnIl1Aqp99tY+ldHU eM0PfTQvAgiLoKMb320deFLrg5Bj2QMEeedaMhPbDpKx7SsnXzAIT9YibP6jHyw3eC+M pziSf1Syi+Uv0GaNBbUcp478jTQSNg3mfR+ea46pDJovjatFnrWt6Kj8xGHYmU89MVg8 6w2g== 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=ZPH1lPAx/6b7bF9Le+gycIW01aPcJnxyUVAxPbECTaw=; b=ZDqVtJE8ZhoKubucmxrjt0o8dzfsLoN9iITZAXJx0pm7UUhpMBSHVixgZd48PhxIlA Cbaxb7P7rqTU33alGbwzkgddNjlEnh5Yvs5X+2/Ur2hTC4Bh2/jjZuDUBFuMyEyXj6Dy LetQ2do02K2NpY+nl0HrysK2A4ENumRG6LWHcO6Ug6PjEky/8RGpqtFTHczpremWeKKw 2UvqByCWAP7ACbYIYHZEPw6uOdE9hGYb/qWYnehXnMoeEHoysyLsJGkXMm3qntEgFVQo 13/+zb5Y8xlZpjUoXAYJf0PTJihwxf46yvG62ztJZomPlCKeSY/ELV232ieL3OvoOblV QxuA== 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 y10si13924522ejw.185.2021.03.29.17.05.02; Mon, 29 Mar 2021 17:05:25 -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 S230402AbhC3AEH (ORCPT + 99 others); Mon, 29 Mar 2021 20:04:07 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:53627 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbhC3AD7 (ORCPT ); Mon, 29 Mar 2021 20:03:59 -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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id A7DD9FF803; Tue, 30 Mar 2021 00:03:57 +0000 (UTC) From: Alexandre Belloni To: Lukasz Stelmach Cc: linux-rtc@vger.kernel.org, =?UTF-8?q?Bart=C5=82omiej=20=C5=BBolnierkiewicz?= , Marek Szyprowski , linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 2/3] rtc: ds1307: remove flags Date: Tue, 30 Mar 2021 02:03:42 +0200 Message-Id: <20210330000343.801566-2-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210330000343.801566-1-alexandre.belloni@bootlin.com> References: <20210330000343.801566-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org flags is now unused, drop it. 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