Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1397884rwd; Tue, 13 Jun 2023 08:37:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qXNU6LJueFgvAuQPlxblZf8kR4EwEiuRh7rVNrxsZeGmFzJxRa67QRnN5GloZUi53Nhf2 X-Received: by 2002:a05:6a00:cd2:b0:641:d9b:a444 with SMTP id b18-20020a056a000cd200b006410d9ba444mr16104385pfv.31.1686670629826; Tue, 13 Jun 2023 08:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686670629; cv=none; d=google.com; s=arc-20160816; b=UDb2h+pct9oBZ47+624LE227YYxqw6thRUoQ6QEauITtUY4Qpi8/l28F+WBSmPWWec sopkC4nVVFm3ZZHOppAl4r0UIKIsY3CZOZAAQ0uaKvXJBQyEnnx6wx1lh7ppEpA73JSj TMkrp9o5QBaAiUyH1ZvS/ISkbUosT6btQZ0/Om3WmwKi2/Ke1JUkOT9Y5pAMsR0Vw1pV ddekQPOvzk/W5z0UVExlnXIkqdm8ejFWeKJ0QMZPOMz1whbXfez8nPE2O1/OA1WYLd35 mn7f+5mh+DN7dFP+42FyUA1o7Bn/saGdykxDVZi8+YlHW2e+sPlXZMH4EPBjJmIFpeVC de9Q== 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=OaVCgmHqWJN+eewTf2Y2wiMN+XsWQv/PAmxLm/w9w3s=; b=OUqfbewpILcbpc6anIpo7W9s6onMGUftwbK8sVBm6UhBYfjpAHdDxP5OgEDPKXs/Eb atR3Z3E73QvlarXH87VZBnQpaj/4cx9C3DF5u9+cgylxhDyCEu21ehUxvEvgZ8TSb00s xEGtEZUKoGkq6GI+iFuVb2lKMY+gm64EBYiz6ZQrLqq5ErUyZo1kie+MPp+SBucmlfSl 28sSelx1OLt8qTsszRv26Q1/7FqSZYZQ1rL+bBoBQ1/xUjPfzR7sqiKStZZi4A5DqLYZ L3AWk5RAoBG8qzex49542XA8nuc0Dimsojtvr0RbPBIyBW11VQt8p5GM0KsPM2TtoaD3 MqHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DIMes3mX; 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 y82-20020a626455000000b00643652c8879si5803586pfb.326.2023.06.13.08.36.57; Tue, 13 Jun 2023 08:37:09 -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=DIMes3mX; 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 S239588AbjFMPPZ (ORCPT + 99 others); Tue, 13 Jun 2023 11:15:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240619AbjFMPPX (ORCPT ); Tue, 13 Jun 2023 11:15:23 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7C86101; Tue, 13 Jun 2023 08:15:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686669322; x=1718205322; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mA2gx+9Y9yUtxWw+FAnPdMZDeWEHXhopZ2uBUJWIbQg=; b=DIMes3mX8bMvLAtHhBh1kd04Kkpm6AJ2H+BFRhc5sJiI1SfZb39ShlDk OOcVbQvELKV6PTZPVSJLom/Z0qEH+D6wKSWC4FPcAR5iBUpDk7rJcKY3u 54wPB+AMAFGe7RcevjHr4e+HKidpyq7YLHxji3iS9t2ES+XcCf4aoZELv Wltqn+NYYh54bW2+2tjcn2xCRGk+SMFpx9lY6FB5H4nLbkchKeSMaKo/L fuF61A9c/+QSptbAGEifAaF/aTOq7Z+SgZfHNkW2YzPPBEhV0mhvX+bK7 l3jv/Z02FI8mN5Fi6GzT65YSPRNB6cq13U7Kt6ioT/8VaOyIgngX6DrpR A==; X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="358360056" X-IronPort-AV: E=Sophos;i="6.00,240,1681196400"; d="scan'208";a="358360056" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2023 08:14:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="856132427" X-IronPort-AV: E=Sophos;i="6.00,240,1681196400"; d="scan'208";a="856132427" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP; 13 Jun 2023 08:14:54 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1q95jQ-003U5s-0i; Tue, 13 Jun 2023 18:14:52 +0300 Date: Tue, 13 Jun 2023 18:14:51 +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: 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 06:14:30PM +0300, Andy Shevchenko wrote: > 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? Ah, and thank you for review! Appreciate it. -- With Best Regards, Andy Shevchenko