Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5734165rwr; Mon, 24 Apr 2023 08:15:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YQBYUPFXKZ4DeCrJVLfn+T24MZdP1FXv0r83Urfo6GhsTX8aG7kFUWSSqfpgXccVez21KE X-Received: by 2002:a17:902:cec9:b0:1a5:253f:ace7 with SMTP id d9-20020a170902cec900b001a5253face7mr17644786plg.29.1682349331536; Mon, 24 Apr 2023 08:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682349331; cv=none; d=google.com; s=arc-20160816; b=Qf8C3X5NQWiECTgd6xH8XyeYr12GmwmnYx61mzo8gXdKncYlVVp3luEzIsmHWHW53b j0pWziO8oR5KOcWOIIfC2JeqWnmum748cuhKMlqtIzBZtUH6V2RMHtwF4iWcWY1APeEF H/Ue3564OcmiET8FN0gnSMttuKbzn6BeG2aKXHPdhW8+fbmvmqWlWxfyPX3h+lxYYjjN ASoloIQ0omVaSG1Llh861HjjK2jRWO6p2aDiOzH8ogeO48nwkOCZQMO0awmxKCvjFn2l bY6zcePm9M6NLG45+hopbHIsLnB0Wg5Or5lAryqhvtC1o6rmkc9FGMPMx2pJDDUSGuyC Bf9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6OcZNUbky7xFEdNiZujzZX1A4PKAtwqjTCLp3DqD1MI=; b=ITtDWQAvtvgo9FuagTlKCOMTeFGDlIHoMUiyFX0IUQ24uZm86+TeVFv4HFOrKsmjYi X4sG3xjgwXDIUtxY1S3xTLdgddfsmrSaJD7WW2ezVn6zPuTV4mykRHa+mG3CLpopFScb fPqTSs8Yr39X/DFJ/hK14EIa0vupPk+AKSmUDnFfJr71qkhfP97Ri4TNC8708POyLQo8 KlmF6okRmqenAfE6+utAoWxg5KU2Wz6cZQMuafQNXYAvVa48mqbU8JO9Jp57jPq4IX2A QSJTI86J4ghYByuBhF+fU9RgEyNfSy7BObWbl87tZZXlart4ztGkTMQoVfMMxNTWbclK EJBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=H18WC9QS; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a170903244e00b001a6e87f4336si12769509pls.275.2023.04.24.08.15.15; Mon, 24 Apr 2023 08:15: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=@intel.com header.s=Intel header.b=H18WC9QS; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232004AbjDXPJX (ORCPT + 99 others); Mon, 24 Apr 2023 11:09:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231960AbjDXPJW (ORCPT ); Mon, 24 Apr 2023 11:09:22 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 673B0B5; Mon, 24 Apr 2023 08:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682348961; x=1713884961; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DFwbhVwB3qAZzM1M6A2mywZtxGqtlDkuA98FUDSiHUI=; b=H18WC9QSVbZDeNdSpDJaGW3snciIOwZeKCZNgYMLwzjnknsoHTzSyRwv mIjFi8sVYlozr1yvMc755G85p9DuxYqKOU5ZUeAhYjuBzMThwONNJXYiK BMNW1a9rpVsHYTYaq91kqiqUVJQ0jOMKrmdGvRkPxugtzMGh3fgYUoG3M GZqPwqgHJpXtZwpB0rGqy77VrlCM67GK4AUYfckNJysSlYUXPfY4coL+Y XtLJC6JqgLg9QHBwRAG9oGCyQsg2vDTcZmjSfbSc8bzpeM5BcgwP9fUni nFjsgK2NNpendDQdtA375PU/k2xbatdn5rogznpWkHPSYYA8hti8wEAJp g==; X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="326087209" X-IronPort-AV: E=Sophos;i="5.99,223,1677571200"; d="scan'208";a="326087209" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 08:08:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10690"; a="695807913" X-IronPort-AV: E=Sophos;i="5.99,223,1677571200"; d="scan'208";a="695807913" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga007.fm.intel.com with ESMTP; 24 Apr 2023 08:08:33 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pqxnr-004Z7o-2i; Mon, 24 Apr 2023 18:08:31 +0300 Date: Mon, 24 Apr 2023 18:08:31 +0300 From: Andy Shevchenko To: Matti Vaittinen Cc: Matti Vaittinen , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Zhigang Shi , Shreeya Patel , Paul Gazzillo , Dmitry Osipenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/5] iio:trigger: Add simple trigger_validation helper Message-ID: References: <91fffd0001e8efef90f43fa03026dc0e5e30b4e4.1682340947.git.mazziesaccount@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91fffd0001e8efef90f43fa03026dc0e5e30b4e4.1682340947.git.mazziesaccount@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,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 Mon, Apr 24, 2023 at 04:08:19PM +0300, Matti Vaittinen wrote: > Some triggers can only be attached to the IIO device that corresponds to > the same physical device. Implement generic helper which can be used as > a validate_trigger callback for such devices. Missing space in the Subject? -- With Best Regards, Andy Shevchenko