From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFB0FCDB482 for ; Fri, 13 Oct 2023 10:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231277AbjJMKoJ (ORCPT ); Fri, 13 Oct 2023 06:44:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbjJMKoB (ORCPT ); Fri, 13 Oct 2023 06:44:01 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DADB1EB for ; Fri, 13 Oct 2023 03:43:55 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A6C0C433CB; Fri, 13 Oct 2023 10:43:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697193834; bh=bpRiSXkMmQkHgeqQ+ymmdIlUJfXwAP6+/lOV9tV+YtU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=KnTYlTITt6oJMVwtaPmTWqd5jnQcenZY/hc9k6LgKNufOz+aNua3WkkdaAoqScsux gjbSp4Avb4PJe5UNYcS0QF10a80sCpSNBYACS57v9Fm+k5sIJ6h+KJoGk2ZQ0mTzbO oE5/U4s9Ydw1Kj3gQlEUliAgIMiM+oiTMUYAlqVNJXsGHlj6oZoyO9/t5LT0w5RWW4 OuTwuhlnQAY0NI4ItxtSxXYkvM5P/ZS/ECTIhOKkGRXSRUlRdhuD0ZI717fNZgLKS+ NqOkC7QeiinEbbVTjrAYxFJ1t+bS7xjV4HRd9qR82G3+3Oak5JmadObeE+zG6WU6mO 8Z0XN74bc6kOA== From: Vinod Koul To: Kishon Vijay Abraham I , Rob Herring Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20231009172923.2457844-16-robh@kernel.org> References: <20231009172923.2457844-16-robh@kernel.org> Subject: Re: [PATCH] phy: Drop unnecessary of_match_device() calls Message-Id: <169719383317.165658.7807942867322803604.b4-ty@kernel.org> Date: Fri, 13 Oct 2023 16:13:53 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 09 Oct 2023 12:29:11 -0500, Rob Herring wrote: > If probe is reached, we've already matched the device and in the case of > DT matching, the struct device_node pointer will be set. Therefore, there > is no need to call of_match_device() in probe. > > Applied, thanks! [1/1] phy: Drop unnecessary of_match_device() calls commit: dd69a6379a07f21ab1c41360925ef29ebe992a62 Best regards, -- ~Vinod