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 49E84EB64DC for ; Mon, 17 Jul 2023 15:40:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjGQPk5 (ORCPT ); Mon, 17 Jul 2023 11:40:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjGQPk4 (ORCPT ); Mon, 17 Jul 2023 11:40:56 -0400 X-Greylist: delayed 975 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 17 Jul 2023 08:40:54 PDT Received: from mailrelay4-1.pub.mailoutpod2-cph3.one.com (mailrelay4-1.pub.mailoutpod2-cph3.one.com [IPv6:2a02:2350:5:403::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D950F136 for ; Mon, 17 Jul 2023 08:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=IJcqcl6YEATV0uM7dxR1yHiimSywkAB+NQBBC5aE6+U=; b=InhAakGoJC6TOowEjtt+No6UauAzL4N3ZPqmJQe8HlxHNJBGJc3T+Z9IF8GCFjgWZ9AF7M8j2CVqW noKX6PAdSZrl5oCtQztP7hn0ti0TvO9+4j7j4GzhsZGfRhg4tATuESUV7Icdj5UNdSA+2Lr15V6HMo yjKkpKvB6+HCFsbSyRRKOatZyODe8Y8ajMemLzDoE6g/BVt7wKPdPn931q0mWlQCaL4HAZ9DmWE7i8 QFIPB8MrIQKTCc/d56ISpEAnEB5R1EuHn16gUJ0wWcOcky8aZVkKKksd7+Vt/HqRICnaYSU3Q63/SG i2dGNSFziaQWEm3CaQI3mdb0Zsx5zrA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=IJcqcl6YEATV0uM7dxR1yHiimSywkAB+NQBBC5aE6+U=; b=QUQREvwKt81IQjYRveEITn5JFi+JnH9YZ5vjRSweTgZl1GiUe37MMw22NG6k8mjxuTgW7n2YLqn31 bGYSuQhCA== X-HalOne-ID: 0480e098-24b6-11ee-94b9-592bb1efe9dc Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay4 (Halon) with ESMTPSA id 0480e098-24b6-11ee-94b9-592bb1efe9dc; Mon, 17 Jul 2023 15:24:28 +0000 (UTC) Date: Mon, 17 Jul 2023 17:24:27 +0200 From: Sam Ravnborg To: Geert Uytterhoeven Cc: Neil Armstrong , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH resend] drm/panel: simple: Simplify matching using of_device_get_match_data() Message-ID: <20230717152427.GA559179@ravnborg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On Mon, Jul 17, 2023 at 03:34:13PM +0200, Geert Uytterhoeven wrote: > Both the patform_driver and mipi_dsi_driver structures contain pointers > to the match table used, so the custom code to obtain match and match > data can be replaced by calls to of_device_get_match_data(). > > Signed-off-by: Geert Uytterhoeven Simpler - nice. Reviewed-by: Sam Ravnborg I expect someone else to pick it up. Sam