Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp168281rdb; Wed, 1 Nov 2023 22:53:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMEjdY4Wumv1nXLh18f7aYtVkLsgbfowEpOjS6vLsUZz78rDMVHN+hrQdg0hUwzCMtFQ8w X-Received: by 2002:a17:90a:9b03:b0:280:1d6c:a6a8 with SMTP id f3-20020a17090a9b0300b002801d6ca6a8mr13243105pjp.23.1698904384148; Wed, 01 Nov 2023 22:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698904384; cv=none; d=google.com; s=arc-20160816; b=sG4AUAmWNppN/QLNtArN/KiADWZiSbTn0w2c4g2bvfqwRit0LZekbSigWVlWKejND0 KB97/VLJiyxGSM7bxP3SQhwIEArTKihGhEXxNQ/L3tu8fobIhQu9OU82uvGnziIcX7M/ fFMBp1HYCFvqsenDOHCYEDpb1xQDVz6eis+eqmc2lmIc5DE+nzQF+sxUSUIciGRgeIFU wVrae6+IQMZu2THzHwQp0pEWcxFdVL/BU7CtuwIeuEe1jqjk3EX75P/SGcvD9TO668Jf EMrtLaYHs99Or0gEhJQMB9v8gF+xWhulzxSasQF2vf/X88HF/clD2M6EX5IHNDjkzW+Y d7dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hrOBT+EoEGtPZwvHU7oZh43WyyRFFukfmZ6U4aDKCE0=; fh=VIyUW6JQt/pjS7zMEBb9+Fjg1iHeyQOG8PKG4RMl89g=; b=uMUGgwjSbroj8+wkQmIQptaA3xW3HFQFs2NkvvvS9viBzP/2rrzl8iJFXtG9ptJEKz Doag1uANwpTXF/S5JwpV10neh9S0EXbmmh9n4+kHP9Vcmfy9X/D7nDAAG3Do3Fr3wY8V jy4McbcDCqqBpA86ACXe868E29/ic6RA2GwwT8WlnCj5xEMY83tIjyJhTx5L9/xg0ZBQ Pmaly1YJ85RIukEkxZfTi/7sbuFPzCmRLE5/pG1KL6DjcH7oflWGmQgdOGWcrClWo3Bd qr3OVqs7Pr5NZRKZYwSk9uCqEQSCxYfDtWG73LJugvjk1+JjpOUVKBK1w/wa6ZtNkmMt uK3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BJN2ET1W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id oj5-20020a17090b4d8500b0027d4901b0b1si2489348pjb.82.2023.11.01.22.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 22:53:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BJN2ET1W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 24D8E805CF43; Wed, 1 Nov 2023 22:52:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232378AbjKBFvx (ORCPT + 99 others); Thu, 2 Nov 2023 01:51:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbjKBFqn (ORCPT ); Thu, 2 Nov 2023 01:46:43 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8246D116 for ; Wed, 1 Nov 2023 22:46:37 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1cbf47fa563so4452785ad.2 for ; Wed, 01 Nov 2023 22:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698903997; x=1699508797; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=hrOBT+EoEGtPZwvHU7oZh43WyyRFFukfmZ6U4aDKCE0=; b=BJN2ET1WU3IiTdq85KDLduA/sqPdxEiHSWEAqoKVDQqA3e3/d1jUakFM0N1ND/rwkv p1NWlLSeaKgM1UrryLbN3r6MriNx1qP+00uk5uP31Z5vYqgEhO0MbAq4IYBRgZwsZgRx RaaZomOW8uBbsytECIT6x95vtDWAJWqZ+EEbNWjSKOLBXUosgoeHEw+mU44nHmZKPE5K w88RuU3uG7dKxyf1p+GrZDOf1kEZeBPFY+t6m359X6WbOWRMpSKouakwg3I8wSZp6xIc 6rySfz4iDRRPs39Z0wt102pAUCs7z+x3hTPexiMsBcGtz/HUbgiLk4vOfJsw5frnoK1L shHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698903997; x=1699508797; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hrOBT+EoEGtPZwvHU7oZh43WyyRFFukfmZ6U4aDKCE0=; b=mR4IxwBqLDD5nJ5tQTbggxPVd8htAQ73sLD0vJqsx9fM+qmU77dbZ1AgRKzt3vtMyP nIr7dn0LVaN7FffrQCEL6vUaWX7iY6KcGZrsA4uyV/I0xiDnZvDkw8E7lk3P74r8fTdv c8mHax/q9aHw+Eto3Lmrffp+TGMvrFHsmz7zAXjDsm9RauNN+FOFB5jEyS10/1KsYEoF ays2KiK8rPCrHEdkFrpDfU8XYRYFbnTVWxVo3tmYj1MH9x2fbn7JonTjwb/OvSRlhkkk kNedPWL/2N2VBEawqHfKSWeZMv+xy8nXDYeycRddehGungkHOvSyF1fYlDIeaivhjdAQ eXdw== X-Gm-Message-State: AOJu0Yz0hJbkSGeezo8/9Hf8uSG30wwD4KX9Lezrljie3VID6RDf96aW J603BlZi5ujyn8jgaFlVtXKCCg== X-Received: by 2002:a17:903:111:b0:1cc:4073:88a1 with SMTP id y17-20020a170903011100b001cc407388a1mr7845028plc.0.1698903996993; Wed, 01 Nov 2023 22:46:36 -0700 (PDT) Received: from localhost ([122.172.80.14]) by smtp.gmail.com with ESMTPSA id e19-20020a170902f1d300b001cc54202429sm2198582plc.288.2023.11.01.22.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 22:46:36 -0700 (PDT) Date: Thu, 2 Nov 2023 11:16:34 +0530 From: Viresh Kumar To: Rob Herring Cc: Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] opp: ti: Use device_get_match_data() Message-ID: <20231102054634.u3nse5sv5mknyw7z@vireshk-i7> References: <20231101144501.118972-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231101144501.118972-1-robh@kernel.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, 01 Nov 2023 22:52:44 -0700 (PDT) On 01-11-23, 09:45, Rob Herring wrote: > Use preferred device_get_match_data() instead of of_match_device() to > get the driver match data. With this, adjust the includes to explicitly > include the correct headers. > > As this driver only does DT based matching, of_match_device() will never > return NULL if we've gotten to probe(). Therefore, the NULL check and > error return for it can be dropped. > > Signed-off-by: Rob Herring > --- > v2: > - Add missing commit msg > --- > drivers/opp/ti-opp-supply.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 deletions(-) Applied. Thanks. -- viresh