Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1146750rdb; Wed, 6 Dec 2023 09:46:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8aR4aHY1f8TCpfxD21AZ1ETl2On/sUfb4ijgvKynJlagrvWMe3Ex5A0l2Q/GmZz+a6Xjy X-Received: by 2002:a05:6a21:998c:b0:18f:97c:925e with SMTP id ve12-20020a056a21998c00b0018f097c925emr1282150pzb.67.1701884779946; Wed, 06 Dec 2023 09:46:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701884779; cv=none; d=google.com; s=arc-20160816; b=nljTristWYFx+C92OPuZyWeFxuc2bQlpMXyhjymQDLpRiXZqXDLOXHTRfR5XqfcwvA QnKJ3lKmWWkbKoWMRqqKuCxA3AnmEQjYBebVUs7ObyTJGcZnJXoHQHn5XUloDpXsX7dH G0eLlfZgdNjnpw740wzNBfJEmZb9hCChqE8JkGhjFQ1TLcW1ymPnhxaBfuSmqn3HKLXd lifGsMrnFT8QEKSt47pU0Ybi+jdVlDb4qy5qX5qdnoYTP7ZwB6NWwRnSjqPUMi035yb1 VF2PApt4aSuDrcJz3nTTgDw4C5kxUgh9wfowzDLxfHcjffF/R1+UkSSXvmqVyd3B8sUA eDMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HEm4WTNCff0mqiVWt8hPXnv/SEzwcaoJg5k6WBM/Ots=; fh=IoJHHrEVqo4e6vSeStieGsqQNuzptXvQjFFAYOnR0Bw=; b=jmOfcUFvXDHQFDdcP3o/+58TXj8sw6doIhauUfODuE9YlgsddviayjlnunigtvjP0a 6VKU86bCTmaMY96SE6Sxl79UcyZVEUQFGuo9mAMSVdxykdxOYMRKDe+lNR21sqvEj4mv fwhKGzAuqD8wYmiYR9nvcaqFbN4S9vQXww2fBFvWQoNraoJPLp15f+JArpmZsotPQzrC 4F1qVtd8I9+CEDE/OdO+pSNuCGH5s2cSLBqxQPgAd6OG48IcQlz4IuqOVVFevqf4qGae dMk99HMjMD5anNOe/tPGLsRCpFOB7I3PT1WOmwI6ZvvOMiQKS0mkXvfTSjI/fu0iBdBn 6jMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DFqQOeDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bm22-20020a656e96000000b005c179c0075dsi235528pgb.883.2023.12.06.09.46.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 09:46:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DFqQOeDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 7B9EC80C92C7; Wed, 6 Dec 2023 09:46:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378918AbjLFRqF (ORCPT + 99 others); Wed, 6 Dec 2023 12:46:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230243AbjLFRqE (ORCPT ); Wed, 6 Dec 2023 12:46:04 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 691BDD4B for ; Wed, 6 Dec 2023 09:46:08 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 026DFC433C8; Wed, 6 Dec 2023 17:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701884768; bh=f2thWcW62IXUOrbPqO5jq+mUatO667MclBvkg0ftvMw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DFqQOeDxOragNgCWaFB6fa/ZCUeDo5jmoU1N3o+euH/x/dJRnbGN2Dh947WoRMkcs /8vTxrMuMnU1i0jggbiaweErVewwBVFafutVmrUkeGA79VysLZHGTCqqUwZSand9Id P286oQYjgY9ncbftP7gKexfXpcyozXEK501VzUGOXW8GGSOgMTrcLziO1Tpk1jqieM wYVgyZl83Rvd38DSfChLMVXpet5nxAyRnU+DZ5uwNFjwDl2NbCZ2ZrloMIvObrhEzp PstIjHRDwzbwlpmj+NcnMZBMO7kVyN5imz2VUVNOrVh+l8aEqjQpOnMldvYYKDcBYW qCKNGvsZ/5pLg== Date: Wed, 6 Dec 2023 17:45:58 +0000 From: Jonathan Cameron To: Andy Shevchenko Cc: Petre Rodan , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Lars-Peter Clausen , Angel Iglesias , Matti Vaittinen , Andreas Klinger , Rob Herring , Krzysztof Kozlowski Subject: Re: [PATCH v7 2/2] iio: pressure: driver for Honeywell HSC/SSC series Message-ID: <20231206174558.27f72d37@jic23-huawei> In-Reply-To: References: <20231204194401.20891-1-petre.rodan@subdimension.ro> <20231204194401.20891-2-petre.rodan@subdimension.ro> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 06 Dec 2023 09:46:17 -0800 (PST) > > + ret = match_string(hsc_triplet_variants, HSC_VARIANTS_MAX, > > + triplet); > > + if (ret < 0) > > + return dev_err_probe(dev, -EINVAL, > > + "honeywell,pressure-triplet is invalid\n"); > > Still you can use mentioned device property API. > This is one of the rare cases where basing on iio/togreg is sensible because you do want a feature that only exists there today. Just state that you have done so in the cover letter. Jonathan > ... > > > + return dev_err_probe(dev, -EINVAL, > > + "pressure limits are invalid\n"); > > Indentation? >