Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1393661rwd; Tue, 13 Jun 2023 08:33:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UMGD2GhF9i7HzvUb0BjZDKVAqedIV38hB5BbOYe8NhKb2lTkLIv1cf1UODWwx3YSwMPWt X-Received: by 2002:a05:6808:1382:b0:398:4465:ed25 with SMTP id c2-20020a056808138200b003984465ed25mr9616825oiw.37.1686670430454; Tue, 13 Jun 2023 08:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686670430; cv=none; d=google.com; s=arc-20160816; b=GCokjx3YAheHsuCUFRhEarBPfGn96BT2oJElvrcDakQFvQxH4gNF6kEYqK6F42DPgS Tug7i3/HLr6INw0DBb1ezE7SUIFjsiq7weFZ+5EU1y8P0rLwBTxvOFiQGXFBX5VGuRKu HAhERc4KcbQUsO0zp2bsSJMttoqiGu1KwFIpgK72u8cRMdRK/aHGZWrF9ictD7V7wFix 1NGRBQXohEHD8GwR09DKdVOCRNNwjVh4o8kZow0GhgxWmUoUXmORFPO4MBCW5f5hGwp0 bzfFhYzZDlYK1ZkZ5YtFbyO05lWxK9SdbjckPTWenQJEAtkdAJxprhrwTofn2NSlLoM6 99EA== 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=GNmRiUFue0VqDlQmXZAnZ7PTysbDUkyzNQQbZs/eX2o=; b=nfgKGJB1rAcbQiMVatZZ1H7lJ0LgHMhfbRIszPMOYSRfuK1ExvgeR8DaAMHCsyr5gx P06WZH0xRQ6s+xhYVIgiLMIv1MkB11B8ekbimtuTzqwwypvsF77JrlkMmbgWdcFz8g/I NLGNFk4YSLt8JBWq14qgrYU9l627Io2UzbqLQQRQWYEP0pstJoEMJvQGcAP1XeQQQ+iG uBEeFNJ/7e7h/lwfDifv1i/AwPBwGuTY5zhgi/gavkeebXLdK4hwbTf3UdeIZnUeI2MA HdV5feUMJ1KZCHk6s0I2fYJGf3Qk1Ji01F75d1s6XkTUghbdc+S3MS7AXL6lEUpQ2FUk 7jqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hrWxgVG6; 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 f10-20020a63de0a000000b0054402b987eesi8758152pgg.213.2023.06.13.08.33.34; Tue, 13 Jun 2023 08:33:50 -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=hrWxgVG6; 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 S241246AbjFMPOj (ORCPT + 99 others); Tue, 13 Jun 2023 11:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240619AbjFMPOh (ORCPT ); Tue, 13 Jun 2023 11:14:37 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60050D2; Tue, 13 Jun 2023 08:14:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686669276; x=1718205276; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1dqtMpffhBApmbkC9z66BtFzjGnGgIfDciQZLOFF+e4=; b=hrWxgVG6OQprk8QN0YOslm7Uw9BfHk+W0crutwH4NraKrW6Hm6mEj9QH hUcoQQSyvqf3KEvxsCcXbxhCj6Y8F4RRlWC8XDkzQHFN7o0Q/OYJ+GLyh p7jLL3oeRLnPF16+FNToCVyjBzX0atZSGti4Ni9ModKiyQcoDW/kikD+m qbo9x/Cm5J5dum4/RSjQ5mBleN4kUtjiiyK2E/x2A+V23Gl/7IHupzfde hUDyjJSR4Q/0MdgETPQr1gCl0bR8gabA9J+HFGOVzib6pAeyP7nZjHWyD lSQtg7+B0aK7FBmXzvcMzuihK9v/rGz8Jsv+zkWoQVMDeu/M4thga86CX A==; X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="361731765" X-IronPort-AV: E=Sophos;i="6.00,240,1681196400"; d="scan'208";a="361731765" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2023 08:14:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="824427658" X-IronPort-AV: E=Sophos;i="6.00,240,1681196400"; d="scan'208";a="824427658" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP; 13 Jun 2023 08:14:32 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1q95j4-003U5b-1f; Tue, 13 Jun 2023 18:14:30 +0300 Date: Tue, 13 Jun 2023 18:14:30 +0300 From: Andy Shevchenko To: Serge Semin Cc: Damien Le Moal , Greg Kroah-Hartman , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Hans de Goede , Jens Axboe , "Rafael J. Wysocki" , Len Brown , Daniel Scally , Heikki Krogerus , Sakari Ailus Subject: Re: [PATCH v2 2/3] device property: Implement device_is_compatible() Message-ID: References: <20230609154900.43024-1-andriy.shevchenko@linux.intel.com> <20230609154900.43024-3-andriy.shevchenko@linux.intel.com> <20230613094508.mnmktmmt4l657ymj@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613094508.mnmktmmt4l657ymj@mobilestation> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jun 13, 2023 at 12:45:08PM +0300, Serge Semin wrote: > On Fri, Jun 09, 2023 at 06:48:59PM +0300, Andy Shevchenko wrote: > > Some users want to use the struct device pointer to see if the > > device is compatible in terms of Open Firmware specifications, > > i.e. if it has a 'compatible' property and it matches to the > > given value. Provide inline helper for the users. > > IMO much useful wrapper. Thanks for the patch. > Reviewed-by: Serge Semin There is a v3. Do you mind to tag it as well? -- With Best Regards, Andy Shevchenko