Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp241052pxb; Tue, 2 Feb 2021 04:08:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzV5BdJ4WM0no7oeBt2v/ALaJLpa/x1SxPZwlrovVU63O4YtEDPu1omsTLSVwF7M10opkYF X-Received: by 2002:a17:906:d922:: with SMTP id rn2mr12721212ejb.414.1612267706270; Tue, 02 Feb 2021 04:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612267706; cv=none; d=google.com; s=arc-20160816; b=qESgYB2qAowScqi8QbuFO4VWKrGqjsccXANYD3WJn3wF+Vp7fy8OvaNPcE2Gd3fk4U liscgzPufKem75d7r59GcvMwcTe7cKAxtcOcritkIF9IJYiCdt4/3cL5fXXZP54Hq8wx 7994+pCJXQwbuWhL8KM66ka6s4Lts3/dg0Y0PMYhzxZICjwaZwRdSEumakc5twgzgKEm bgjjtTus4F6gcAjwmqqcTPrG0ahwS2SSmATXkB00cSv6q85HoTw/Wo7MoR0QKMfW5lqD RRBPvRMoZXMd0tCnNqPxgsK+DybA0RxfavyyN9RzzDVn+qQJaKb7r4XYmcXQlJrbXcVV OFOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ioCs7jX8PpMZEdV94Jce7rrfIgnnopVE3O3WTTOq4js=; b=C/vim+6E2Wz4gFTTxvzOKNzdSlctfhrPVXfUz2npPx6JeTtaU8nCePW6pU5ZoY57B5 100059mVe0Frm0AMtQVNQTJ7CHpSodrHjlg0ZmxDLIfG11x0DTYdoWXki8xZJ9HzW2vF XFMUJJUfl11U2Y1dh58seewxUV56T3em/7+yu5c4yRiCxPrGGNCKaEghTmfmXiRN+lu1 PG6b2CmutgsKjdszHOxLuz3QhEdZIgJi6XHPbwnucenI7zvyFxGFz2dhBv65F/sllQli 5E6v48KtJ0YL4rdN1P2VAO00onONOIX0epb6amjw1+fMm+BTfMsaFjiu/fti011S4b2s N0Mg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si1937256edh.390.2021.02.02.04.08.01; Tue, 02 Feb 2021 04:08:26 -0800 (PST) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbhBBMGt (ORCPT + 99 others); Tue, 2 Feb 2021 07:06:49 -0500 Received: from mail-ej1-f54.google.com ([209.85.218.54]:40270 "EHLO mail-ej1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229466AbhBBMGi (ORCPT ); Tue, 2 Feb 2021 07:06:38 -0500 Received: by mail-ej1-f54.google.com with SMTP id i8so13102744ejc.7; Tue, 02 Feb 2021 04:06:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ioCs7jX8PpMZEdV94Jce7rrfIgnnopVE3O3WTTOq4js=; b=PY/QOhFFDGKXA0/4Q5opvyBSnqGf8Du9zkLlbvn78xIukuQZMuhIHKBWWIuU9wfP3X GRcn29Zla9uUiB7pyWsnWNgzAjrqx2bhOCbSsq+DRZpeHKWPbWcXH5OtBdhtw9xLjTV+ 66+8hEW9LPcNToTiJvLLb7IB/194LQHzBTzcfXEbqeIrhzihhy8Xb4JgdX0scWTRu85P 2kEjx3e0iokA+Z+YeUX+u2ej58PJkCNlbl1VAHMuDFqJ6jdzcOEJbFpuEMIR9ypaXyIN uoIw16Qpa3duJOQrzwRXFTmUyMAmC8VllBtzUpmpTIx9TL3w/ZxgO5y96p3dOnQjk8E1 wctg== X-Gm-Message-State: AOAM533bpKKpqG45YyxLYIQ6w/cYXDfiGymrmPQF1z4fBhKrbev9tI7s h54F+JPrWnZjlxbEc08ps7I= X-Received: by 2002:a17:907:3e27:: with SMTP id hp39mr21866609ejc.187.1612267556555; Tue, 02 Feb 2021 04:05:56 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id b3sm1778936edw.14.2021.02.02.04.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 04:05:55 -0800 (PST) Date: Tue, 2 Feb 2021 13:05:52 +0100 From: Krzysztof Kozlowski To: Alexandre Belloni Cc: linux-rtc@vger.kernel.org, Marek Szyprowski , Alessandro Zummo , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] rtc: s3c: stop setting bogus time Message-ID: <20210202120552.u6i5dxgibh5yyjvt@kozik-lap> References: <20210202112934.3612726-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210202112934.3612726-1-alexandre.belloni@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 02, 2021 at 12:29:33PM +0100, Alexandre Belloni wrote: > It doesn't make sense to set the RTC to a default value at probe time. Let > the core handle invalid date and time. > > Also, this is basically dead code since commit 22652ba72453 ("rtc: stop > validating rtc_time in .read_time") > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-s3c.c | 15 --------------- > 1 file changed, 15 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof