Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1392584rwb; Fri, 19 Aug 2022 02:56:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR4IVAX4mHkg0BJU2xG3y/PQgpbFHC39UHpJyIlUjSHmHxHQwJBIiFlh2pKY8vMfc+R/fsbs X-Received: by 2002:a17:902:a502:b0:172:5f2a:9e35 with SMTP id s2-20020a170902a50200b001725f2a9e35mr6625751plq.79.1660902984756; Fri, 19 Aug 2022 02:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660902984; cv=none; d=google.com; s=arc-20160816; b=JVGhLQsjflfAEgoXMDbFD3/C9HPfmEsvgve5DegRhY/zDKQ4KXQyqIqd4g1R6bSvKr W84Q16ibvmV6AnKE0PSvhtWMg8WFZuDFIEZMd4BoutxQMlL0Ac0CjC7/qx8wOk855z5z LifiAZr+f29n/d0BanA48phVxKwQhuk6JySn8VRMFcyJIyohaCEHwx+ZmlVpRKy5C3rB 97lqjK6n+/zw1i7/hWgtY2H2wDxp9PsVPQ5cp8CAH2TkSIe5Dc1eDYz2z+5sFGgjQJjE IGwsBBithv7QqN9/CiM5H10O2ZR4wR+Tm95WhocQMBloqbPT8hC65HClbRddFD3z0ew4 +cog== 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=h/PR0k733hyrl6lHcrFIlsUlVMQgdaDl258OUpePefw=; b=w/FKvo30iGasXb7FIqpvwC4qxnHllP/xjloyx75wwarTMBxVZUmSb0ARr2Q2mORXdb YH+kdBkK0Wp3GDfCmuxCEacuBurefDdeyPdzxLf6wSMrKNyHNS2zLKYbXLWAu6g/MUVC 79NSYwBTGOsvsYnQk4np9NFj2O1UdZA6EWYztfqe2ePt5YMKGHl8eiCZ3KmzaDGRwlGu RUSg/9pG3Jeq9vZSkeLdmMoX0LjVCM8MAt1Mp+7blKHA2SZMegiei40DIROJsrLC23aw WWK+pl73N2sUKZ7CDlzDLSbGHH4UaURZyHzDCiHQg7IXeF/xYhy7i88EmSVVEAkbgvPr 5iGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OYQI3R9M; 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 d17-20020a056a0010d100b00535d01119casi3126909pfu.75.2022.08.19.02.56.13; Fri, 19 Aug 2022 02:56:24 -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=OYQI3R9M; 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 S1347836AbiHSJv1 (ORCPT + 99 others); Fri, 19 Aug 2022 05:51:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347553AbiHSJvY (ORCPT ); Fri, 19 Aug 2022 05:51:24 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18680E3983; Fri, 19 Aug 2022 02:51:23 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id g16so2901315qkl.11; Fri, 19 Aug 2022 02:51:23 -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=h/PR0k733hyrl6lHcrFIlsUlVMQgdaDl258OUpePefw=; b=OYQI3R9MZf0Gjf/yY1ii/zCSkw8hxBHExqiib71w8ptddLzO0/ZeQbNBp+PHGvtWHz KwTxErR0W1FphOeNp7yjLv8g5o+HtHz+1Xbubnfu/k//8NMLLyItI40ddmQ9GYxfM37C HC8BHltODVADzn59MtscT7kJIUiati2MyxOFIVbZ05gzsQOwWiYO0kdZI2gf5wO/K63C 8S+ezvVWsof+qRkD86RAVAkBvdfx2SZv0bdJGp7YN45CmZQpWrnyIGRx9r1J0KRszL5l x1+pss4yFx1jGezHlIQ1eVYHKlMgq1mlHSkPqAVwnTcReUs9afw+KKinvLm51eK5qVAI ITCg== 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=h/PR0k733hyrl6lHcrFIlsUlVMQgdaDl258OUpePefw=; b=tlb50mx4PieVNjWHkV8xIPzTH1GV4IkZWlECQm1WeMOqvCabfebob9MkGYlgAG6uUv 6rX0pg3g6Ff18SrlkM4JOtRJPgMfTv3HGKYX4aC5bJXzxpOZml4E/jYImEiCxnE1mOTR u5P1QmWFqEgS6A2ZRcpP6HlHC/umZQ+GnrYozyqcDVbxZ5UR2USif5nzkV4kbqUzGeiP Q6CYHNTd/o+VPGMKf1syva32Fb01gPTMVKOLPVf+vBqjWgKgHdGpsXJ2n3hPf/CLxdlX dj4XcVxAvkXUHNwKpD6gW10sBPhUqapJ42227056jriTKnKUBCUEUDmzePUflbKs2bdH Cwew== X-Gm-Message-State: ACgBeo0TXXaKD6KXPhCVWvBCTYOaf2rf28LLQgj8YkPO5NSQQUS4RZG0 9PiD74w4MYZQGubZKX+Mk5VcGwuUxPxCZwAqOrg= X-Received: by 2002:a05:620a:254d:b0:6ab:84b8:25eb with SMTP id s13-20020a05620a254d00b006ab84b825ebmr4630906qko.383.1660902682860; Fri, 19 Aug 2022 02:51:22 -0700 (PDT) MIME-Version: 1.0 References: <20220730125024.87764-1-andriy.shevchenko@linux.intel.com> <20220818232256.GA3505808@roeck-us.net> In-Reply-To: <20220818232256.GA3505808@roeck-us.net> From: Andy Shevchenko Date: Fri, 19 Aug 2022 12:50:46 +0300 Message-ID: Subject: Re: [PATCH v1 1/1] hwmon: (iio_hwmon) Make use of device properties To: Guenter Roeck Cc: Andy Shevchenko , linux-hwmon@vger.kernel.org, Linux Kernel Mailing List , Jean Delvare 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 Fri, Aug 19, 2022 at 2:52 AM Guenter Roeck wrote: > On Sat, Jul 30, 2022 at 03:50:24PM +0300, Andy Shevchenko wrote: > > Convert the module to be property provider agnostic and allow > > it to be used on non-OF platforms. > > > > Add mod_devicetable.h include. > > > What does that have to do with this patch ? See below. > > +#include > > -#include The of.h implicitly included missed headers. The mod_devicetable.h is necessary when we drop of.h. OTOH I haven't checked if mod_devicetable.h is still included indirectly. Either way the correct approach is to include mod_devicetable.h since we use a data type from it (of_device_id IIRC). -- With Best Regards, Andy Shevchenko