Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1515173rdb; Mon, 8 Jan 2024 01:22:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGo1Ne1DgVG+RRAcHksGhOi6KjuM1TCAp3Dxt9GRLsfnJ14iywSrq/+9upVNDKUa6GN3eV X-Received: by 2002:a05:620a:a19:b0:783:190f:a78b with SMTP id i25-20020a05620a0a1900b00783190fa78bmr2948860qka.40.1704705720143; Mon, 08 Jan 2024 01:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704705720; cv=none; d=google.com; s=arc-20160816; b=PM424Yw3zC+ZpxP6bosvM6tSzRJHDpLQExAV1JVHbHSUh2/oQjm3O7Q9/+i+d/AYBI iAtpURvd2O0Jm/OTggWmRpLM0ws0EWai96rLlJcP4qSo18HA92fDOyJf5s3DSLnmU/1h ULrzfPmK6LuFb733VQrwr5WYTqHdIUlyl2eogwxZamoTJ9sIb1xCnph5/8UHm25BNdGu s1pyZ/LysMmJ+LtbwtDR3xbFMj3rOc+CCGd6GA7vSdKbWwuuuOLRX9rnIYXLnWwcqyju WCwvaGHbaxuZgoMjsAKvj6QTT22N5J/qHRegJEOfcD5ZcwMITl+Qz/DlQ3YCDHRFQWcb LeWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=48TtFxmkBLq08biP3z1ck/nyrB9vsB9Au4Xw4KzideY=; fh=L/75A92C4r6s7p0wl3tLaypnglq6P35gl2qn6oQwgpg=; b=03SQmBbAyPSqXKAKfRTaAuxePz1zS/khBM6bok1znUc2XKtXAOV9k7g4qdoiZNyibR ltZ41nOs2fVEb+/nW02iW+ZtVmymqWRUZq5v0B9EPmGoDu7UvrAT9XMUXnUqX24hMs4I KnYrfWOQJ1fB4BKeUfoJNgqrtpsKpBWbYPZVKX2RGSliQovY5CYA4m1fpWOgjAfi65/U ul7wb5SrzPxonSN/89uOh5AMKcDyzVgsEylINYtxtllbo94XtaoFxtVEQHdEwsaFCoGr wRsnhjyw0o85rCtbY84Z1dE7beEra/0S7KHiq4T4ThUHxTi+ZwzlNa09Qa9UslHOPDQP voBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fabzwQ3v; spf=pass (google.com: domain of linux-kernel+bounces-19269-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bq20-20020a05620a469400b007815ba075f6si3974903qkb.310.2024.01.08.01.21.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:22:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19269-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fabzwQ3v; spf=pass (google.com: domain of linux-kernel+bounces-19269-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DB5A81C21DB6 for ; Mon, 8 Jan 2024 09:21:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E64E12E73; Mon, 8 Jan 2024 09:20:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fabzwQ3v" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED64212B7C for ; Mon, 8 Jan 2024 09:20:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704705654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=48TtFxmkBLq08biP3z1ck/nyrB9vsB9Au4Xw4KzideY=; b=fabzwQ3vSLiU3CaNd0KBVcTS4APNtA6nVKIR8Voa53aBam8W+X0GAUwSXlimjHtusJKozZ qnHvHjwMtWuomwdaaoXUwVLEkHg8NwjEq3SE8YlpRE7ClNPeCrzDI0AP1WOlxOANNkwfqZ 4LWTTiUvVL3Qsye+fp3VHXv0NeNOnUo= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-29-SoY_W1zvNASHI7HnQi34mg-1; Mon, 08 Jan 2024 04:20:52 -0500 X-MC-Unique: SoY_W1zvNASHI7HnQi34mg-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-781314b6298so32045885a.1 for ; Mon, 08 Jan 2024 01:20:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704705652; x=1705310452; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=48TtFxmkBLq08biP3z1ck/nyrB9vsB9Au4Xw4KzideY=; b=N4n6nMn+Gn3ftq8O6nxP1JVx+fNrKLKxvR0gDcMXErs/wKuVaRTgmhEFVvkqDfP/uT XR9P8tLUmcvWdb/C4EZyAfiWbb/HSUwjHOC4wKC2a7FRCxrJLrnXDr2P0V08pkzV+1HS 9jIDTFiRpFrvCMw8/KrcpXh/GmeQv27ZWGswwzdWCKbWWUVFLPKFDdGjTVe1TUkxXzKG ykTOPTPduBBb2vmHuhlmO81SlWEEXVJrYgszl43wf61xlArviHBuNEHj9NiEkIzsrjWb Rwy87owY63AsmWNTyrtQfhuq13KuzseAZdddmrCYhfYJwH5U+5vZmfY/gFIAQd2jHUBy ARfQ== X-Gm-Message-State: AOJu0YzFU5epFJy4TezeBuw8uXB4o3ksrDcBRDEy9DrH7wUeyij18FYW n23mLvWuUKlX6aXwtN07DGeST9WaJhEcJ6R5QNYp1ydKvwZj2UoIjwsUilt8DEsN+BVXGiF7eRY hTJ5l0TSJJUQpLppI0spxc8WllRmqkIs3 X-Received: by 2002:a05:6214:2305:b0:681:7ea:7ac2 with SMTP id gc5-20020a056214230500b0068107ea7ac2mr1913600qvb.1.1704705652211; Mon, 08 Jan 2024 01:20:52 -0800 (PST) X-Received: by 2002:a05:6214:2305:b0:681:7ea:7ac2 with SMTP id gc5-20020a056214230500b0068107ea7ac2mr1913588qvb.1.1704705651960; Mon, 08 Jan 2024 01:20:51 -0800 (PST) Received: from pstanner-thinkpadt14sgen1.muc.redhat.com (nat-pool-muc-t.redhat.com. [149.14.88.26]) by smtp.gmail.com with ESMTPSA id dm4-20020ad44e24000000b00680613267d5sm2732554qvb.115.2024.01.08.01.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:20:51 -0800 (PST) From: Philipp Stanner To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Palcu , Lucas Stach , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Mark Brown , Takashi Iwai , David Gow , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Philipp Stanner Subject: [PATCH v2 0/2] platform_device: add new devres function Date: Mon, 8 Jan 2024 10:20:41 +0100 Message-ID: <20240108092042.16949-2-pstanner@redhat.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changes in v2: - Fix wrong function name in docstring (Uwe) - Change devres function name so it becomes obvious that it's requesting Patch #1 adds a new devres function that I found could be useful for the driver dcss in drm. Patch #2 makes that driver use the new function. I compiled this successfully but unfortunately don't have the hardware to test it for dcss. So you might want to have a closer look. Greetings, P. Philipp Stanner (2): platform_device: add devres function region-reqs drm/dcss: request memory region drivers/base/platform.c | 38 +++++++++++++++++++++++++++++ drivers/gpu/drm/imx/dcss/dcss-dev.c | 9 ++++--- include/linux/platform_device.h | 3 +++ 3 files changed, 46 insertions(+), 4 deletions(-) -- 2.43.0