From patchwork Fri Jun 9 15:56:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 13274136 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 4FB49C83005 for ; Fri, 9 Jun 2023 15:56:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5825F10E6C4; Fri, 9 Jun 2023 15:56:41 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4840110E6C4 for ; Fri, 9 Jun 2023 15:56:39 +0000 (UTC) X-GND-Sasl: miquel.raynal@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686326196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KIUV9oosXC8jjvfEYxY8IasPYL8JpSb2etfKbNzqL34=; b=OdihSM55AMXY8dGzzEXFSMzV1PEUNm+dWoftPbA1JsWdv0ePhFvkFR8kmOWVvyStEnM7lG hvqZtrHeltbGkW0vFgzrBr8LcAw/oFnmOUrw6q/gAt781lilFcknOQQK3jJtsqgeQ6nbQX a4f+GR/FSgE2Hv8E7H9ba8utocAw2CWgoaorn9JqCz3r+4SiFS7YXQkDk5aPnMF2gTWRQ0 98Bb4S2uNowOmIN2UZ/1N46RlbP5LHGhEu3tmZpQuMHyDEKol5RB5SxpC5rZ14gQwN+luK o350VwMvoDH6kX3irkqWBV1bR3nxfSLYn8/eMqG3tTrEZbX7uMfDJRXGMprlaQ== X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id DEF0F1C000B; Fri, 9 Jun 2023 15:56:34 +0000 (UTC) From: Miquel Raynal To: Thierry Reding , David Airlie , Daniel Vetter , Mikko Perttunen , dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/2] Small of/device cleanup Date: Fri, 9 Jun 2023 17:56:32 +0200 Message-Id: <20230609155634.1495338-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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: devicetree@vger.kernel.org, Rob Herring , Thomas Petazzoni , Miquel Raynal , linux-tegra@vger.kernel.org, Krzysztof Kozlowski Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" My previous attempt to slightly clean the OF core wrt device structures was rather unsuccessful as the idea behind the discussed cleanup was more impacting than what I thought, leading to most of the previous series to be dropped. However, aside, two patches seemed actually relevant, so here they are, alone. Link: https://lore.kernel.org/all/20230608184903.GA3200973-robh@kernel.org/ Thanks, Miquèl Changes in v2: * Dropped all the of_device.h/of_module.h changes * Directly used of_device_uevent() from the host1x driver Miquel Raynal (2): of: module: Export of_device_uevent() gpu: host1x: Stop open-coding of_device_uevent() drivers/gpu/host1x/bus.c | 29 ++++++----------------------- drivers/of/device.c | 1 + 2 files changed, 7 insertions(+), 23 deletions(-)