From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A6E4ECDFB8 for ; Tue, 24 Jul 2018 13:32:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4ACE720856 for ; Tue, 24 Jul 2018 13:32:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4ACE720856 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vosn.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388393AbeGXOi3 (ORCPT ); Tue, 24 Jul 2018 10:38:29 -0400 Received: from mail.steuer-voss.de ([85.183.69.95]:41722 "EHLO mail.steuer-voss.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388309AbeGXOi3 (ORCPT ); Tue, 24 Jul 2018 10:38:29 -0400 X-Virus-Scanned: Debian amavisd-new at mail.steuer-voss.de Received: by mail.steuer-voss.de (Postfix, from userid 1000) id 60E0F46BD4; Tue, 24 Jul 2018 15:31:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.steuer-voss.de (Postfix) with ESMTP id 5CE56469E7; Tue, 24 Jul 2018 15:31:55 +0200 (CEST) Date: Tue, 24 Jul 2018 15:31:55 +0200 (CEST) From: Nikolaus Voss X-X-Sender: nv@fox.voss.local To: "Rafael J. Wysocki" cc: Andy Shevchenko , Len Brown , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Lorenzo Bianconi , Linus Walleij , Xiongfeng Wang , ACPI Devel Maling List , Linux Kernel Mailing List , Sudeep Holla , Ray Jui , Vladimir Olovyannikov , Vikram Prakash , Scott Branden , Srinath Mannam Subject: Re: [PATCH v2] ACPI: bus.c: Let acpi_device_get_match_data() return DT compatibility data In-Reply-To: <18030756.yHdBu7e6UJ@aspire.rjw.lan> Message-ID: References: <950e8d0caf9f5f55df07eba8a11b2fa8cba9f9e1.1530708691.git.nikolaus.voss@loewensteinmedical.de> <18030756.yHdBu7e6UJ@aspire.rjw.lan> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Jul 2018, Rafael J. Wysocki wrote: > On Wednesday, July 4, 2018 4:40:34 PM CEST Andy Shevchenko wrote: >> On Tue, Jul 3, 2018 at 9:09 AM, Nikolaus Voss wrote: >>> When using ACPI with ACPI_DT_NAMESPACE_HID/ PRP0001 HID and referring to >>> of_device_id table "compatible" strings in DSD, a pointer to the >>> corresponding DT table entry should be returned instead of a null >>> pointer. An acpi_device_id match still takes precedence. >>> >> >> Reviewed-by: Andy Shevchenko >> >> with a caveat that this is only an improvement for a _temporary_ >> PRP0001 users like I2C or SPI slave devices. >> Please, don't consider this change as a valid point to (ab)use PRP0001 >> in a cases where devices are not "hotpluggable". >> >>> v2: improve readability (as suggested by Andy Shevchenko) >>> >>> Signed-off-by: Nikolaus Voss > > Nikolaus, please resend the v2 with the Andy's tag to linux-acpi@gver.kernel.org > > It won't be applied otherwise. Ok, thanks for the hint! Niko