Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp373517rdb; Tue, 31 Oct 2023 09:45:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFe5OYg1upMd5DthAiV4IngVhem1+sdHXEfRv3uaCvtRap19sEdqUjMeV3VM6nvtIV1AueV X-Received: by 2002:a05:6a00:1505:b0:6be:2649:8c6b with SMTP id q5-20020a056a00150500b006be26498c6bmr11435808pfu.32.1698770751543; Tue, 31 Oct 2023 09:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698770751; cv=none; d=google.com; s=arc-20160816; b=1CA4UkXa1mVDCNLpoPPlW/Gdg6YixkKM+Yndt805Hqe5vwoD0aMSCnQUJZtKK7Gk8t IWJ5PxMZgN3CBJrx7aW8DfljkIGrOSy7NVNMV7bdTuUKM8h+/0TkNYPIGAr/ZNr6aXjs UBv+jWR1VAiTbPP2LBzbHHQ96uEQ7PnzUQYNZ2ssKHZg+RYqSPoQeKcW7IBb4ovd2TVq 5oyf5dKTL6KA7sn9B/ZPeuT9mdqU+01CTkjDis1USBnxVh2+QZnHDe2r0+pexXUExqWT 62U5v7mWlCIn9bvJ7TY2NgBvucStKr9XjNvk1qFFEBTB1o5Z0xSxw2xRt7Bai2nbrh8u aLnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=pZs5rfnOW3Hix1tjsUggJ963xrDWi7btCSCpkKyU+IE=; fh=V/pQ9wIQ70OXw02O7MGAirz7TSzhIwfP24Yal+7P5lo=; b=cftUlOTo2WVMu9b40obW9T+xnfwWFPoH4yKnpVlms8hlDEoxDYBtzxZ/YecZOh/n6W VPpmtPVxw/5wYEZnFvyD3RKQo42r6rPZ4yEuDq547mrne5xlowds9WGBYAL0JFO00r4L kclsDDDNKyQDhU6yCkbcj3L1G+jNSutVuv3gHFpb+g0d4zT7FUv3qDlTEXsQ4/C/P3Qc 6c0dYf9uxxthuN6VaSSrAKVlzr+xfmvFVaqX0mwPxNhOulrKdop+QDFBktLOErhu8iI9 OqJngMgm9MRmGHDqdCe0etRDMfvk7iYfxbBw0qDkmfqe4/hDCvxxJjAfpyl3lYSh39+2 OFVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bnq9Zq4I; 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 t4-20020a63f344000000b005ae598c71d8si1179744pgj.900.2023.10.31.09.45.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 09:45:51 -0700 (PDT) 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=Bnq9Zq4I; 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 277AE808A8C1; Tue, 31 Oct 2023 09:45:37 -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 S1346281AbjJaQpZ (ORCPT + 99 others); Tue, 31 Oct 2023 12:45:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346151AbjJaQpD (ORCPT ); Tue, 31 Oct 2023 12:45:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745E719AE; Tue, 31 Oct 2023 09:34:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDA81C433CA; Tue, 31 Oct 2023 16:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698770066; bh=pZs5rfnOW3Hix1tjsUggJ963xrDWi7btCSCpkKyU+IE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Bnq9Zq4I7oVJrfeOna2uSfpqtDBgo3GEXHXAOMKE1p2NcYajYMkYCKa5T7//DE0Ey KlXU5vJuXuCklcDHKIKUhBxIU/tH909VPN2+5eWCffOYkwVYos9YJngqj/jsYMEbmU +AgCo2zt6hIDFnJoHY/rmcw3P2RKZl7CQp8gjZeOPbBB1BTh/KRqttSNs70NE/EqkX YFjdadu5GJRTYoy4EPDP2RZ+O3NNly7Gu5obgpmbc+LLOKIdo87aJZ44o6ujdiPOG7 vnmea9BX8UdgFTMikN6QICOiiQOtYHZXqJY80rm7Of4bLe9j+XypODv+ny3kvNgJWA 6qrOy/YWzBeuw== Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-507a3b8b113so8474158e87.0; Tue, 31 Oct 2023 09:34:26 -0700 (PDT) X-Gm-Message-State: AOJu0YzmvsX+KLKnS4TbnKNHA2ImNm9j8aiO7gcLwk4sRapFHGT8r/6n 2BKSauFFBYuL9cVQL6oxcBsvD87oNDUKMFVbuQ== X-Received: by 2002:a19:670b:0:b0:4f9:5426:6622 with SMTP id b11-20020a19670b000000b004f954266622mr8898618lfc.69.1698770064915; Tue, 31 Oct 2023 09:34:24 -0700 (PDT) MIME-Version: 1.0 References: <20231030135411.776744-1-robh@kernel.org> <20231031034551.iiroxfz7qoz5r7yn@vireshk-i7> In-Reply-To: <20231031034551.iiroxfz7qoz5r7yn@vireshk-i7> From: Rob Herring Date: Tue, 31 Oct 2023 11:34:12 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RESEND PATCH] opp: ti: Use device_get_match_data() To: Viresh Kumar Cc: Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 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]); Tue, 31 Oct 2023 09:45:37 -0700 (PDT) On Mon, Oct 30, 2023 at 10:45=E2=80=AFPM Viresh Kumar wrote: > > Hmm, somehow I didn't receive the direct mail last time to my Linaro acco= unt > (alias of kernel.org). I do see the message being posted to LKML though. That was an issue on my side. > > On 30-10-23, 08:54, Rob Herring wrote: > > Isn't it is compulsory to add some details in the commit log ? Sigh, I missed adding it on this one. It should be: 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. Will fix and repost. Rob