Received: by 2002:ab3:689a:0:b0:1da:d01c:d2b2 with SMTP id t26csp52ltj; Fri, 19 Aug 2022 15:39:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR7tN5nSy3iiQYjf/dhQNeKuqXI/7bFAJJDcodSChcDn3zj/DDEURuTo187xOYTSop7qoFqt X-Received: by 2002:a17:907:7da8:b0:730:fdad:4af8 with SMTP id oz40-20020a1709077da800b00730fdad4af8mr6278232ejc.401.1660948771631; Fri, 19 Aug 2022 15:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660948771; cv=none; d=google.com; s=arc-20160816; b=PEsskqPWtoAXYwn2oowd5lCOE1lQakuOYhsT4PPeZsz5E307E2Zss0tBGJwE4Qo0co Ocu06BFAagTrIXy9LqaU+0VMJkxWjdXbJ/2rHDrvLG6ZCa6UEcrjZy8X1eE/ZAd32OkK 4/XRMHeERqBZBzeYbFyDSm+CJ5ipd2CDpySded5//U74nZaFjXgwtHAg6MOwxRrwKV6j sYkfv7XQPNKr35/vTPyekgnr8PFKeQVGQfebov4jC5OXFwJzVOJQ7bSTtIbvDPSxjVEa FQF0LmqpQn8Ni1LEhPzbc87+mcfF/Wm+C3kcUgorDjZUK2Rdu8cYyXlfjovuoleqPDlJ KScA== 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=t7+zdBcdaf9omNNLA5zpiw0uL/86fti3ZA7dKW43iwc=; b=se6bEBwG+oMQtfj+7dw42FCTIJ2ZV6KDrRadxEFX+bgTHQdov40esFrw2+15I9o3FD 6vBEHYsBuRqL1GUr+8/O3qyZaH/Z7j/rkisHTSobF0f96ilTfFLNweAtYm/arTX9Wfwz NjCU5aDHPX+HtRgAR9ZcLx5udV1hm79VhwZqtw9w/1pm4SQPa10rv9+sP5Iez/+A+oP3 76lfXLVMaXdLvX93pGg/Us1g5/BJfbpB+7fI/upxlfsU0/bv5KB7ZnzwKuKttswpnaTn woy6j+kU3BC/H8gksg1ap+925pKHgzSoVwDG8BAJR1NQS8RcHWv1H7jp3fR1MrkcSIwH Smbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GY7TlHLO; 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 y94-20020a50bb67000000b0043d556dd041si3629539ede.446.2022.08.19.15.39.04; Fri, 19 Aug 2022 15:39:31 -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=GY7TlHLO; 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 S233453AbiHSWIP (ORCPT + 99 others); Fri, 19 Aug 2022 18:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiHSWIN (ORCPT ); Fri, 19 Aug 2022 18:08:13 -0400 Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51922DAB; Fri, 19 Aug 2022 15:08:10 -0700 (PDT) Received: by mail-qk1-x72d.google.com with SMTP id i7so4210830qka.13; Fri, 19 Aug 2022 15:08:10 -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=t7+zdBcdaf9omNNLA5zpiw0uL/86fti3ZA7dKW43iwc=; b=GY7TlHLOLnCrdBD1l/y6qMU9YX+p/r1VFg/e8hQkP+QFmb2vvWfvh5W7uaMWwDi2kX iRFU6pb0q6JhD7S4/do1njqaPU3AtQ+w/0V08RxDWnx/73/ZvBmHnOC536HCEhzbmkYZ 7pd42HMJHK05i3Ta8wn8vEI3pdME2+52aqSizG4lmc4zInkr+LGes/DFejNgvIrmRKiA CEbkmXmLDFwF6iyrOcmaEwFOnniv1zZiMe8sQKy6Q+H+UjJV/sVFOWMGw8dClG0ACqrq 1iNUjJtSPznL2Xmvno13M60yIs9zreo/grptGqybgfgRT39G8ETlCuSobF6xZGC2Oynv 0XRQ== 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=t7+zdBcdaf9omNNLA5zpiw0uL/86fti3ZA7dKW43iwc=; b=B596Qgq3k/hmm3pAmyDANuzCBU2k+ql8r6JOXAzz7rB1BOx33LiAPgRxIUUd1+OcIk +re7kihRZinOOVic81IGgDpFDSyCcCZq02Nsaf9Z/HOuOG0Kt3gL/DzZcur5BDkanHHq TrFKU8egxebYTNmfnZ5UZDAxUEYy/F9RZ+iUEqmPiba9eE2cymPLY93Vc4Of6Zj5DUte 5e/yJgC/SGb30uPCB6YUJqMId1YKAyfmGVGt9SHw5NbTZoDy7pWvU2RCFf0nr8zwzyo1 OEEJOu97u9POc2NJbeQMNB4riu2muS4Jaq9KTjnGhgI1sQ1juIA0FOIaorAsk1LQf5hN xEcA== X-Gm-Message-State: ACgBeo2AmraLtjrLrwAMBrrNEqcUfjTVN52ZIOVakE9bkUWwzDrBsY0f dWnqCDIcCHfnKjpcCrbeRLFau+LoXaaEJMf1Np6fzTczfLBHuQ== X-Received: by 2002:ae9:e311:0:b0:6ba:e711:fb27 with SMTP id v17-20020ae9e311000000b006bae711fb27mr6500254qkf.320.1660946889383; Fri, 19 Aug 2022 15:08:09 -0700 (PDT) MIME-Version: 1.0 References: <20220730125024.87764-1-andriy.shevchenko@linux.intel.com> <20220818232256.GA3505808@roeck-us.net> <20220819130339.GA3108215@roeck-us.net> In-Reply-To: <20220819130339.GA3108215@roeck-us.net> From: Andy Shevchenko Date: Sat, 20 Aug 2022 01:07:33 +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 4:03 PM Guenter Roeck wrote: > On Fri, Aug 19, 2022 at 12:50:46PM +0300, Andy Shevchenko wrote: > > 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: ... > > > > 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). > > > Something like > > "Include mod_devicetable.h explicitly to replace the dropped of.h which > included mod_devicetable.h indirectly" > > might be useful. Sure, I will add it in v2. Thanks for review! -- With Best Regards, Andy Shevchenko