Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp602276pxp; Wed, 9 Mar 2022 08:56:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuFPko/vKlU0AbX26DTYy8RU+WI5LBT3BJHssuLnkrU5aqGF59lzUTtDmlVjhuvHxtA7BA X-Received: by 2002:a17:906:1e42:b0:6d6:df12:7f8d with SMTP id i2-20020a1709061e4200b006d6df127f8dmr647036ejj.15.1646844985573; Wed, 09 Mar 2022 08:56:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844985; cv=none; d=google.com; s=arc-20160816; b=qE1DGOdYipNDutZVrFcmgoGqGjZbfOb4y8Tl6+5NuZCp3k8novZKKaixc9GzNfHau3 bk+A3uvOmUTuEYR7kjFao4j/iXPWF+m3Zk1wMlKxNgm3JH2siJXD+nuw6bbK95rmfwQk LHUMmV/TevV7Dnj1LznJVTrAliAyQsYlSxki/ORbPga+n6871ufMQ+7N9KlFatqDRJlm x+D9okgpMBxCOfhBNgOVsH+h/RTo2DwmbYp0sv2HIeZ0PQOMzO63BfGmvorGmTnWCTpg rFx6+rEmwrojyeo79GR43Q7u3GB9eKZN/JIIrWxM0NdhKYhFK3dKLRIXQUIAH2PRzZ4d cDxw== 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 :dkim-signature; bh=bZ+FMrocTQNorBiqOaMXAhVj9/cA9JFFnHk0sZK2Ucc=; b=h15EGQDBjhDPMTN8e3NRc3eTa59Q2xOTcv2PGFhoLXbUj69dGPzKcU4pEChyLNrln9 AoijgiNB8UI4kNuJ1RA3HCe4+wMC69TfzP5Z6jXGZvO0K15sKNyYJHz+epwdDFV+wl3V qHxNKQVXEU9LqlLsoX9OuNg7CGmyILkvP4E1DAG80plrlWI5lzXK7evrztAR1QIjOuMA Hf++qMNaVYRTjZGkkbzD0cjckYzi7PSqZR00vIB9Wao3sE/EM6lJNRfmp3Dgr3r7613j AVtvZRYzpmxCTOT1Gtu7Ac8Ean4yYSO8mPrR8rgeh0VE2xAqQQpdpd8nzNEzvJEVphoJ LA+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="Qggx3jm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020a1709063a9000b006db756fae96si734850ejd.964.2022.03.09.08.56.03; Wed, 09 Mar 2022 08:56:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="Qggx3jm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236903AbiCIQif (ORCPT + 99 others); Wed, 9 Mar 2022 11:38:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236740AbiCIQaL (ORCPT ); Wed, 9 Mar 2022 11:30:11 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC591D76EB; Wed, 9 Mar 2022 08:23:32 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 5DBE2240005; Wed, 9 Mar 2022 16:23:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bZ+FMrocTQNorBiqOaMXAhVj9/cA9JFFnHk0sZK2Ucc=; b=Qggx3jm/r4a9TDk+wGb6RuXrpDZcFwGk8J+XVbWvunruDlw9oSiGqYDKcus6ULEJzVd0s9 HjzRpLx+oEbrnSG2XDG03Nkbgl0opapUpA9Gx7LQkY5PsuAk6pIKcnRlNKdyxjLOd85PPW jAxOVKDD/IbzaPNKmvtPo1NFln2R3152ZWkOu1t/BLYQocDH+h4iDvEP2du0RVtWQGlU5n seYoxKZkPxKomCECgH0oz09ux7HwF57E2ok+P9ijAZOcPK8fV9bmOQ8sLvh9BA46YS+Tsp 0FPoAmcQTqnWA3X1r9TfM+Gkhay2gpM24fYAFtBSyMj6D51NtLuMoaul4I97JA== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 12/29] rtc: pcf85063: switch to RTC_FEATURE_UPDATE_INTERRUPT Date: Wed, 9 Mar 2022 17:22:43 +0100 Message-Id: <20220309162301.61679-12-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309162301.61679-1-alexandre.belloni@bootlin.com> References: <20220309162301.61679-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf85063.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pcf85063.c b/drivers/rtc/rtc-pcf85063.c index df2b072c394d..3c2477454063 100644 --- a/drivers/rtc/rtc-pcf85063.c +++ b/drivers/rtc/rtc-pcf85063.c @@ -616,7 +616,7 @@ static int pcf85063_probe(struct i2c_client *client) pcf85063->rtc->ops = &pcf85063_rtc_ops; pcf85063->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; pcf85063->rtc->range_max = RTC_TIMESTAMP_END_2099; - pcf85063->rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, pcf85063->rtc->features); clear_bit(RTC_FEATURE_ALARM, pcf85063->rtc->features); if (config->has_alarms && client->irq > 0) { -- 2.35.1