Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3649105rwb; Tue, 8 Nov 2022 06:59:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf5HqcLTMlyiF5vIaNnmEc830z98iHC3YC9ykzZtteFGGBnW1/aPZeMjlt7Tq7xyX6TK9veB X-Received: by 2002:a17:906:f28f:b0:7ae:782b:46bd with SMTP id gu15-20020a170906f28f00b007ae782b46bdmr5020222ejb.59.1667919588407; Tue, 08 Nov 2022 06:59:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667919588; cv=none; d=google.com; s=arc-20160816; b=0fZNsDQto++3q0V9g1R08OnIF+29VWIDEe+miZcEk/h8sPYKX3XSNJWCXUkLsnnReB avidS+bIx/taRfmarNaGwGAMJhw28mAb5ONNif34hzerWDx+qYk/e5hlF5CK94BUVzpw /FNwlQd47q0XN93Q2YmBO7H3+fgwrQ/GxmgaVTYqy1Y113He5A0QBU4V7/V/ltVv9TnQ LF8ENkVU2GDyuksNCWgKDTkYxzIChFraeEHzhrbvSu+a0R1Lh5k+BqvVg7HCWZV5Iydi 2mAbNsKQ2eMd1Mu2E3VYFjlTEsH4viJmnIFVQ2q819l6dXoVJeaHw+e84BUnwCb9ILmn bzBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=chPq10Gzwk+MmB+dQBE8YARzKswl0L8S0c4cotUK9Yo=; b=d3OuV+cq3jShrXV0ArYhu/kjwvONfFuji5ZrdvcYkKa8/Lu/e6nsdIVhrem2eFTi/z AhPBdEZti/aRuiKlWloCdIxgrTcjUyko2ywGjPX/OwhSoMbYcRmV+4+ZS+j0bo+DYGm1 ZjTleiHwh+Ts9HMQoip88+2q89JrgKniNiRn14h4/XDuXqu3OaW04nJBeELwiIfM7pUv nX8aaz/5wKqBLSD7eQDqvzCeGB6x9stExI/SOKPNvqfLP24AN7R3Usf96yaDPaFOvddX hGfXXpaPig+iR4dQDbF0AWQIt6DwwFIg5lr+s9Bp5FmFhs71YYmMWJ7nqWkv0o74LvTv eMbw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a056402254e00b00461e63fe88fsi14112660edb.596.2022.11.08.06.59.25; Tue, 08 Nov 2022 06:59:48 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234441AbiKHOnZ (ORCPT + 92 others); Tue, 8 Nov 2022 09:43:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232367AbiKHOnV (ORCPT ); Tue, 8 Nov 2022 09:43:21 -0500 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2102631ECF; Tue, 8 Nov 2022 06:43:20 -0800 (PST) Received: by mail-qk1-f178.google.com with SMTP id p18so4626390qkg.2; Tue, 08 Nov 2022 06:43:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=chPq10Gzwk+MmB+dQBE8YARzKswl0L8S0c4cotUK9Yo=; b=Nel+RCouuBuJs1TaAED5Cvd/nfznpqnUTi9Q0+X++UdFTeQ4MNw88NfXMK0pdiBLVp xr4K+7kkKqYRk4HW5P2C7UsMk6UT9ghbd++Z0KEBUNJFPHGzJ3t1Whmuzz+oybC8xZQQ xURZD392gkNacpyQ3UPKy7LPBjh5/BRtiqEbdAGRoEWuiViwRRuw+Cm+elPpe5V0rvG/ hsUAC/lkUEcKXq9GgtvdSke5QkeKvzTVxPjutX5/MzFbrqWD7cKyWZynmc5oI4MiLiNN XOI/y1sJDeroHBMAOocVfr5t+RXxtTj73YRUz8PDlgKSMy+Qb93ohs0WFYBlSRA3GVGq Y7lA== X-Gm-Message-State: ACrzQf0yBEiLduDrjmQczD9clJEByYdLMt414dNPUvhaFomUL06dYzzr N55IUZIiIeP9qF3VU9aF3v4FAKoixSJiuwjHbzI= X-Received: by 2002:a05:620a:d89:b0:6cf:c98b:744c with SMTP id q9-20020a05620a0d8900b006cfc98b744cmr38559368qkl.443.1667918599300; Tue, 08 Nov 2022 06:43:19 -0800 (PST) MIME-Version: 1.0 References: <2276401.ElGaqSPkdT@kreacher> <8155359.T7Z3S40VBb@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 8 Nov 2022 15:43:08 +0100 Message-ID: Subject: Re: [PATCH v1 4/5] rtc: rtc-cmos: Rename ACPI-related functions To: Andy Shevchenko Cc: "Rafael J. Wysocki" , Alexandre Belloni , linux-rtc@vger.kernel.org, Linux ACPI , LKML , Linux PM , Zhang Rui , Alessandro Zummo Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Mon, Nov 7, 2022 at 10:22 PM Andy Shevchenko wrote: > > On Mon, Nov 07, 2022 at 09:01:50PM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The names of rtc_wake_setup() and cmos_wake_setup() don't indicate > > that these functions are ACPI-related, which is the case, and the > > former doesn't really reflect the role of the function. > > > > Rename them to acpi_rtc_event_setup() and cmos_acpi_wake_setup(), > > respectively, to address this shortcoming. > > Hmm... I'm not sure I understand why in one case acpi is a prefix and > in the other is kinda mid-suffix? Because the former installs an ACPI RTC fixed event handler and the latter populates the cmos_rtc data structure in the ACPI case. Maybe it would be better to call the latter cmos_wake_setup_acpi().