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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76448C433EF for ; Sun, 20 Feb 2022 21:36:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B27AF10E1AB; Sun, 20 Feb 2022 21:36:41 +0000 (UTC) Received: from mx2.smtp.larsendata.com (mx2.smtp.larsendata.com [91.221.196.228]) by gabe.freedesktop.org (Postfix) with ESMTPS id B5C9F10E1AB for ; Sun, 20 Feb 2022 21:36:39 +0000 (UTC) Received: from mail01.mxhotel.dk (mail01.mxhotel.dk [91.221.196.236]) by mx2.smtp.larsendata.com (Halon) with ESMTPS id 3b3c4443-9295-11ec-b2df-0050568cd888; Sun, 20 Feb 2022 21:36:58 +0000 (UTC) Received: from ravnborg.org (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sam@ravnborg.org) by mail01.mxhotel.dk (Postfix) with ESMTPSA id 1B50C194B05; Sun, 20 Feb 2022 22:36:40 +0100 (CET) Date: Sun, 20 Feb 2022 22:36:35 +0100 X-Report-Abuse-To: abuse@mxhotel.dk From: Sam Ravnborg To: =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= Subject: Re: [PATCH] drm/omap: switch to drm_of_find_panel_or_bridge Message-ID: References: <20220220195212.1129437-1-jose.exposito89@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220220195212.1129437-1-jose.exposito89@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, tomba@kernel.org, maxime@cerno.tech Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi José, On Sun, Feb 20, 2022 at 08:52:12PM +0100, José Expósito wrote: > Use the "drm_of_find_panel_or_bridge" function instead of a custom > version of it to reduce the boilerplate. Thanks for looking into this. >From the documentation of drm_of_find_panel_or_bridge(): * This function is deprecated and should not be used in new drivers. Use * devm_drm_of_get_bridge() instead. Are you OK to give this a second try with the above referenced function? There is a good chance the deprecation happened after you looked into this first, sometimes things moves fast in the drm sub-system. Sam