Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp878923rwe; Thu, 25 Aug 2022 10:42:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR5CtpdqarUxiSRcAZCc8Xc02UTFqXxqoHunMf7A5rN7deZW/WZtjFtkd3bDys3dhIVW3i28 X-Received: by 2002:a17:902:7602:b0:172:a064:4a2f with SMTP id k2-20020a170902760200b00172a0644a2fmr129927pll.56.1661449362681; Thu, 25 Aug 2022 10:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661449362; cv=none; d=google.com; s=arc-20160816; b=TZGV7zu1pezNuWPqHqVbP1FwZ6IMQG/9Z3H3Zv8ObQ9P22l4ixTQ3OSVj6Uw81q3sb LyAhBpxrNj8+h3eey4GYOmlnB2FoYzn0d0DG+/+AjQJeaswiOBEtTNQ9Wbb7agrsL6lc NO+NqzxYkG8xLq2ZWkYLCxCOFj4XOH2Ch1+UyLfABRN4B/nP9uxTN0IIPWDYjiu3cyNe xbLq2KbvMrBBPH1XSJBK1k+BYwdFgwxW5Jws9PK4yamxum7mydfWFhTwd5ZM0y3/OsIf b6wQ9NmR6y25BZsmqej3Nf0oDs9ziT5GUMFdNMQmIFlRmEzbIIFxBCuVk4XEhhBoD/No X4Tw== 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:dkim-signature; bh=8Yr88Z/taNpsbj093sVxvmE5u/Jj7tZR07/yhCU5Lqo=; b=ipg/xQNB1X5mkFxrcDIMNj50NKem1a89eHRDp8R2kevI7DZJZvYk+MoqyOZJaFTCKz aproexTkRg47Rmynx/J1z5k3kOW9m337SZsS5OMImR/cEfsMB/fq1Yr4PRqI/CgC2LBm DZk44BL1AL1SWYm3cg4TAEyaVwstejhEk7ACIHeYE/4Mf+OB4w+VFWEPWZFYcqiRrfhO SOpjwsFDUhyu+Dffo9LXNl9UjRE/Q/CO8XzAM3SkePBU7VAxPgX2r28UZLaORYbSHOgs 13Zvt7Vx1dLY6zHQ2RjaT8jqgcT1r+6q/JDNSmECWuevddayB0osvZn11wjTcwRUxFgK DbRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XRxmMvpM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mq6-20020a17090b380600b001fb01ed5c10si4880268pjb.91.2022.08.25.10.42.30; Thu, 25 Aug 2022 10:42:42 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=XRxmMvpM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238936AbiHYRR7 (ORCPT + 99 others); Thu, 25 Aug 2022 13:17:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241669AbiHYRRx (ORCPT ); Thu, 25 Aug 2022 13:17:53 -0400 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C869BC83F; Thu, 25 Aug 2022 10:17:49 -0700 (PDT) Received: by mail-vs1-xe30.google.com with SMTP id h67so20586920vsc.11; Thu, 25 Aug 2022 10:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=8Yr88Z/taNpsbj093sVxvmE5u/Jj7tZR07/yhCU5Lqo=; b=XRxmMvpMtNwyy9EMeE2JoVqvro/aCwyM/ofFekkK/tgjSftErT7j7rrfUR0IbV8zor QNugT1Xrj0vvdDhfzvWWI0Sc2LQQ+LxpCy8+N+PG8Qx7b/yoZjuqsJL8Pi743Jrh1RCE kjXIaQFR0WujkbzYQF9OScqnIyMwtml/uEvKQ6db9/D5rfFyMctFjy0hHc/N95sdJNdg uvogdrvZsMWH5HdmyzPQstcfE9IWMuxYF1dJ0yIHTB5ghNKnIty0Lb4ccEwv2+Y8H6A0 oHJ1PxeK3+rC/QbtSYiHO7Rymz6+94cKRVTMzhS0Z19tR7GA/7RxcnQRfsm/xManx4u0 eQOA== 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; bh=8Yr88Z/taNpsbj093sVxvmE5u/Jj7tZR07/yhCU5Lqo=; b=E3ayRWq2fIoozHqRmMFY3UpeFGn0wiPKuAknDbQEkGLWu4yk1R6CjbvdHTN57ziylF avBFwayXDLELIWH/TKwu5wB/lRYbTozHEImGwCX6rP7UtpOPoqS1zkrAF77rn5s9QyBv pBUa8dq9z/zEmUDDrm6coN1Eppw3rblw+g7lbMPrUaUylZi83I5RHh6p+nd1x0xMRmHq V+XOfEGnndl5xeRPI23FPVGB67bx2RiJOmgj3VO1m6le9ST6uee9mNoyRndK8jKvuc8V 0jBh5rAhiL1DN6Cu4bCy/NDSFFU+Os4rBag3y5dw4h4onaH5mWE44MqwKeEG+d3NEY5j UPsg== X-Gm-Message-State: ACgBeo2gjjent+bR8UCXHApGrIR6a4E8NdO/Ci21RKBFX3BKVDIdVDws UYl0oIagVfWYAKyAvVC31QwGh4EE2Nl3QDZG5Hs= X-Received: by 2002:a67:8c6:0:b0:390:4ea0:994 with SMTP id 189-20020a6708c6000000b003904ea00994mr2063445vsi.79.1661447868312; Thu, 25 Aug 2022 10:17:48 -0700 (PDT) MIME-Version: 1.0 References: <20220825164103.27694-1-andriy.shevchenko@linux.intel.com> <20220825164103.27694-5-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Andy Shevchenko Date: Thu, 25 Aug 2022 20:17:11 +0300 Message-ID: Subject: Re: [PATCH v1 5/5] ACPI: bus: Use the matching table, if ACPI driver has it To: "Rafael J. Wysocki" Cc: Andy Shevchenko , "Rafael J. Wysocki" , ACPI Devel Maling List , Linux Kernel Mailing List , Len Brown Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Thu, Aug 25, 2022 at 8:05 PM Rafael J. Wysocki wrote: > On Thu, Aug 25, 2022 at 6:41 PM Andy Shevchenko > wrote: > > > > In case we have an ACPI driver, check its ID table for matching, > > This allows to use some generic device property APIs in such > > drivers. > > No new provisions for ACPI drivers, please. OK! I will think about how to refactor a driver in question, so it won't need this kind of trick. Meanwhile patches 1-3 can be applied independently, if you have no objections. -- With Best Regards, Andy Shevchenko