Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp617743pxp; Wed, 9 Mar 2022 09:11:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEFzjUspn4f6qGp9WplaGHg0EDRmvDWKVh6RkCvME3iR24kxoqRl6MtEmF4loM+50lgmrk X-Received: by 2002:a81:58c2:0:b0:2dc:488a:fa4b with SMTP id m185-20020a8158c2000000b002dc488afa4bmr685981ywb.214.1646845874017; Wed, 09 Mar 2022 09:11:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646845874; cv=none; d=google.com; s=arc-20160816; b=M2oiUUxEofcOG5D+CJ1heMFMcuji+v3XeDRxDufjMNY+ZqALnEGQFNjyjCvaSai0Ju OE/Z6HMHA5dXtKjwOQMeE0XDZdVBWvcuhmDoIV/wx7kETeONgaLk5kN6B5I3Zzj36UMX 9+xOHx4AgKRDQcnF3PR0RZjHtTazhmXTdVNF42r2jo0pecZlCmcv4v5gW6L5s4kzrbcN SGLiZc8u9S26QamPoY6iMS2J5BjfI3+qp90/P8/edBoYjVRBDbIDcVjIq90NAsJUS5Tm DocP0fmXmkG0is0WA+dHbt0N7iwR00my7B/p3GXH58nSIG4b8K7Hm+lp2LYFULeTAK+U vpnQ== 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=3C6FB6jhgDsl5acxT2klDaDicyoea6PWDZxx1o8S4oU=; b=d+A7xsTFvxAUY8n2JxbVW2E41oQKGcb9AXEtzjLyIR+xAylUohLq4OUusU56F5Z3aG nkCDZquBaMfmViqgvlJvcDuT3Jckiy89IbPBwwa7WcN8Wvwg6d7WF7QonSRybes4Jd7p E7CJ0q913O0hNzMzqkHI7tsfaBuJvbBZuO4tSl3UzdQ1Ffxr+Pf1t1VXgoMDp77euKxP LavRx3xF0e+92XYZXdMalNtAB7VQmGuHITrr13TAGj45/VFDMuLx5mTSEqkT63F2pc42 1U7NOIQST192znGUBk8pHmDu1nFjFgs5+GRsOajIap3dFH+Rrcno+SQ6imfJRNsKJsZx 6MPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cwbnSDJe; 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 z65-20020a25a147000000b0061c259ea803si1566321ybh.86.2022.03.09.09.10.58; Wed, 09 Mar 2022 09:11:14 -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=cwbnSDJe; 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 S238528AbiCIQvG (ORCPT + 99 others); Wed, 9 Mar 2022 11:51:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237011AbiCIQaa (ORCPT ); Wed, 9 Mar 2022 11:30:30 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A26D4150400; Wed, 9 Mar 2022 08:23:57 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 790731BF20A; Wed, 9 Mar 2022 16:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843019; 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=3C6FB6jhgDsl5acxT2klDaDicyoea6PWDZxx1o8S4oU=; b=cwbnSDJenHY3cCJNJzpk4h5KZESvbQZkXsQo1tjsM4mUFX0U2NfPC0C6uV8LC113OBFjMI nHAfpMIXLR+vj4H0PH5SP2EU3/2ue6/QWM8VZbg0G9pVqcKAw/UCsb4Mmh0i3b+enaLbxm IGjPzYFNvKW498S+6JS+Dyj+gGaJ84ZssFXF5BevLeak/ye2FYkgcohuFpqWRZ09dZwlkL h5UxBGq8C5puxCf7hyZqhX3M5dUpE5sXdCE7LXqVkF0yAP+iq+sdv65GrHC1eoVWSFxoKQ sBzMN+Y3RkqBqSe/dmtParmCYfZfcKjqZv0RU3aWmMge9H4NNJdkCmolMTTVcw== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 29/29] rtc: remove uie_unsupported Date: Wed, 9 Mar 2022 17:23:00 +0100 Message-Id: <20220309162301.61679-29-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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 uie_unsupported is not used by any drivers anymore, remove it. Signed-off-by: Alexandre Belloni --- drivers/rtc/class.c | 3 --- include/linux/rtc.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 40d504dac1a9..3c8eec2218df 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -399,9 +399,6 @@ int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc) if (!rtc->ops->set_alarm) clear_bit(RTC_FEATURE_ALARM, rtc->features); - if (rtc->uie_unsupported) - clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features); - if (rtc->ops->set_offset) set_bit(RTC_FEATURE_CORRECTION, rtc->features); diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 47fd1c2d3a57..1fd9c6a21ebe 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -110,8 +110,6 @@ struct rtc_device { struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */ int pie_enabled; struct work_struct irqwork; - /* Some hardware can't support UIE mode */ - int uie_unsupported; /* * This offset specifies the update timing of the RTC. -- 2.35.1