Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1285296pxb; Sat, 16 Apr 2022 04:14:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpicCy67SvaXLxfLGIHNFAPQrGJTOtxJOewCM+2jpTwG9o2fRYKbkTtAFdfQ+2tRRKZ2h4 X-Received: by 2002:aa7:9419:0:b0:50a:3eaa:2841 with SMTP id x25-20020aa79419000000b0050a3eaa2841mr3021622pfo.63.1650107653526; Sat, 16 Apr 2022 04:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650107653; cv=none; d=google.com; s=arc-20160816; b=vamlooJHYAOPkHeh+T0Zsz+0q8Eo+PZ07A1aO7zgNHr/2UfK+//bgB8pqG0utY8okq uBCX2Sia/0OR6CBhtwScaxR6/Uy5jA7X0nddAkPLd5pL5ZecYnV8b1KMZE8zYfhFBwnB qUfIe8FFWMNLtI7nTS71CT+/NCa62mw2SSNQXf23Ha9sJpazusFyVT5Lr1n9JgxfGGQU 7rOPA+jygH1Z/oLRWGmXGLQdHBXXb++yGzdpLrxiimM3kq3TtBqTJRHtrw2nYagUqu/a xZk/23g5f4G/zx08dbWLjz7EYfL/S3bBKKFML99rBl/xlltNgiyu6K7Z/YqTDEnw/aDe Yd+w== 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=UfDzZ0b1pw+tmJ0b/K2clf+bL/Ytz2Hx/TnsHmLXCyM=; b=lOtE3u3bl8nYyDfqIwLLPeduJY7tV5dDl46/CauKczDKX5ZY6AwBVntoHvJG/erSqB 73zra68/KokF/gpNMovqHPWyesEXo/SxEk1/m0LiLihBYlCx1coYrCi2UZ4deU+S+gIV El33jDwU0C2poGqxVDwMQPSlvmggCgNc1z6jSR8oORAMbnOBjRXd5gAXFaCpNom270M6 GkxLh4NWcOvH0a1D5xJw2WDyDFT8AIOwmuQzMQkbxHZcNZRSO67dT4phbA1EzJCaP7cB 1dAU6VZE4Og0qOXdK1kYO/pkn67l31B2/MoqFGE27xfi5jD8b/rtZt6FEUCV8rrWIQw9 Hfcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=d7nNzoxH; 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 s15-20020a63b40f000000b0038251581ab5si4046238pgf.291.2022.04.16.04.13.59; Sat, 16 Apr 2022 04:14:13 -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=d7nNzoxH; 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 S230291AbiDPIrg (ORCPT + 99 others); Sat, 16 Apr 2022 04:47:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbiDPIrf (ORCPT ); Sat, 16 Apr 2022 04:47:35 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13CD822538; Sat, 16 Apr 2022 01:45:04 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id bg10so18939567ejb.4; Sat, 16 Apr 2022 01:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UfDzZ0b1pw+tmJ0b/K2clf+bL/Ytz2Hx/TnsHmLXCyM=; b=d7nNzoxHHTlMXu1XK2YvcCWRL6SlZeJwDjpbLZVmDrSNYIkX8kOoyCOK/jgzxp3SWK pMqaSb0dPLVVUmDc2kMGK7HKKS7ABpDELhqZHObQCOZvTy8R9ndhSDfNuOw08KEtjKp3 L2Dur2H4r7vbrXgyoUAMbbSLr7Hzmiu8Skv97Xvl80eBBi3IvYqy3M6EH6dte/7/9uis JcegEWnnL42WkR4vidtISRcgoIIiWaWYsx6xstnnm0jOaCmKCc7xCvLtBPD2uiEjMYVk RbqhYbpEUYZxRjUqJhr5OSx95Cm0KySf9TyqRWdb6Yp3ho9D9KeWozWrJzZyjqgfpAvj 02YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UfDzZ0b1pw+tmJ0b/K2clf+bL/Ytz2Hx/TnsHmLXCyM=; b=JGSwFLmCO5VwCNk/cWBM6qfXB56M0AWMMGGsqgcSUq3JNC/JRog7ir/UwQJWdEK3rK C066ChcRmwh77LrdlNf/0EBMbtq32QrZVrZgszyr2VS0shvNYqXFtB7raFwjoDY1hntT v4WHbG7pKi7JAe8qHAZMNLB32TW2mnlv5FbVefYqv+5zuOgKyqytsGtREM42eVemyhjd iLTo/MVJgXwashG9Vz9jfyja/+twOIz/0UHXtR70KNWiKLL4pf7+arl4RxH5q0RxlX2n fv3nM2xgpZmRLk0qEkb8RUGx4LXw3P/fcbfM970UmlBhMYgGeW6tN3aDn92k/RnzpuIO 8krA== X-Gm-Message-State: AOAM533bQzJ9BNI9BWWa6o9XkBDOjA1aKk2Qi8rgBh45E2msD3hO1r8u zshVbHmRDofv88wqaNjWfIiV9XDWiKHm7qbdeHY= X-Received: by 2002:a17:906:1cd1:b0:6ec:c59:6a1d with SMTP id i17-20020a1709061cd100b006ec0c596a1dmr1176376ejh.77.1650098702580; Sat, 16 Apr 2022 01:45:02 -0700 (PDT) MIME-Version: 1.0 References: <20220415130005.85879-1-andrea.merello@gmail.com> <20220415130005.85879-13-andrea.merello@gmail.com> <20220415174808.3b81baa4@jic23-huawei> In-Reply-To: <20220415174808.3b81baa4@jic23-huawei> From: Andy Shevchenko Date: Sat, 16 Apr 2022 11:44:26 +0300 Message-ID: Subject: Re: [v4 12/14] iio: imu: add BNO055 serdev driver To: Jonathan Cameron Cc: Andrea Merello , Mauro Carvalho Chehab , linux-iio , Linux Kernel Mailing List , devicetree , Lars-Peter Clausen , Rob Herring , Matt Ranostay , Alexandru Ardelean , jmondi , Andrea Merello 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, Apr 15, 2022 at 7:40 PM Jonathan Cameron wrote: > On Fri, 15 Apr 2022 15:00:03 +0200 > Andrea Merello wrote: ... > > +CFLAGS_bno055_ser.o := -I$(src) > > Via a bit of grepping I can see other instances of this pattern which point out > that it's to do with allowing the tracing framework to see trace.h. > Perhaps a similar comment here would be good (if nothing else I doubt I'll > remember why this magic is here in a few years time!) Can be done better way, see dwc3 or drivers/base/ trace point implementations. -- With Best Regards, Andy Shevchenko