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 97BA1C83F09 for ; Wed, 9 Jul 2025 13:01:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E1C410E7E0; Wed, 9 Jul 2025 13:01:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="bhzqrMYy"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8C6FD10E7E0 for ; Wed, 9 Jul 2025 13:01:39 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 41A3D4477B; Wed, 9 Jul 2025 13:01:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3F5FC4CEF4; Wed, 9 Jul 2025 13:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752066099; bh=9CiQYJbM4mHCAINxqqFVjLp1AFAVtras+g0R0MqykTw=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=bhzqrMYyK3kcHzUVAlYLoU38aR60SJ95eMraK9p1rp8dkIJlcMvcw6CWU2ZzlrFXM W6RnzPyvZ3Xsm7uhwPdLknbXHhqhFk4iyqUd2e+XPr1clFuZ+Jxx9hhJVFNlMEqpVn dvS3c6s+GakhE6QnVknP4bDK1mGfhrTFRHgoSQ1zNzsQlo8Tdzj5tKx/yDuS03ykkw w+btKYNP2aiglXwZh2KOIS256QsNEr1DkVWaA+7+Oo4XCnXbXVwl6mTogsq40HRXwN RRHVOyhETgxYjUdyNIR9jouqqPofruuPSIYvI0ftDY4eGOUfIq9m3IVH6YQ2pw/hBz 5oscMrUcsJ5Dw== Message-ID: Date: Wed, 09 Jul 2025 13:01:36 +0000 From: "Maxime Ripard" To: "Anusha Srivatsa" Subject: Re: [PATCH 1/6] drm/panel/visionox-g2647fb105: Use refcounted allocation in place of devm_kzalloc() In-Reply-To: <20250708-b4-simple-panel-api-convert-july-v1-1-630902123ea1@redhat.com> References: <20250708-b4-simple-panel-api-convert-july-v1-1-630902123ea1@redhat.com> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "David Airlie" , "Geert Uytterhoeven" , "Jessica Zhang" , "Maarten Lankhorst" , "Maxime Ripard" , "Neil Armstrong" , "Simona Vetter" , "Thomas Zimmermann" Content-Transfer-Encoding: 7bit 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, 8 Jul 2025 15:35:13 -0500, Anusha Srivatsa wrote: > Move to using the new API devm_drm_panel_alloc() to allocate the > panel. In the call to the new API, avoid using explicit type and use > __typeof() for more type safety. > > Signed-off-by: Anusha Srivatsa > > [ ... ] Reviewed-by: Maxime Ripard Thanks! Maxime