Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1828579lqp; Sat, 23 Mar 2024 10:21:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTDzky255Tzas5VrrjnZtVcvVXPdPCfkRrB+NWYZRMA828QvbhCnywXn423kH7kQhYJVtMFflVTIyRByHHYPFVJZ6aXiqGVniEK5e1HQ== X-Google-Smtp-Source: AGHT+IF5jv+kTMp2EK8W09kKpXTIKe5reqOzaZC8IeaITDncbyPst9Tw+CkeTe8b4nSc04iaoGxC X-Received: by 2002:a17:906:2a85:b0:a47:28a6:3429 with SMTP id l5-20020a1709062a8500b00a4728a63429mr1899828eje.62.1711214485932; Sat, 23 Mar 2024 10:21:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711214485; cv=pass; d=google.com; s=arc-20160816; b=jYTbbRv6Qs5VWF+fCggFBeBByjUQ3Ax1iF+AUTL+xAta9WeUsaxAX6z5DNwHGbN/wL xZ6WPRr3om/zNi4QvPaXB21pfGvhuOYJOzAeaGkMfNX0QuBZpmaw48KD6Cok2N9bevj9 QtXA6/3Iu+Wf1VvS23j0BYbdi/3ZB44gxDz3jAlZxPwhvPBEEhwlsLJSzUBStxZHfk70 w3+0PRC8IEDH12cwCwCS+LSqzLgx+fySYI13rOBMXMxcqrLbXbfP5IoSMQyU8IdVxL/k TS7J3Z869xcIbJtdh7dCx7Mb0eEgz8g7o+XiiNYbsPSvglwvbDEkzgcc4nrsmysx1TPV ZjUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:sender :dkim-signature; bh=8SKbKvutu0TRknCHMhc3WTIdZ3pqPX7klZawq+6tT8w=; fh=s0cPpeefxPtM4cn6vi2b6vz2684MC7o7s2Ah3X1500E=; b=ZwBB7SyfN//kW0kHpCHa1aBXNrRAF2hrmzxbD+IbvBC86N0C/OBPeUnbf9C/QwUIqC WKFm0a5uJIm16Z4OUvLsWeLC6LH54M7C91gMUS0TK8XCrvJOvKS6fWTFJQyp+GbsARzf G3K9dw76DxSEhRVcL+DOqYMxSC4W7Qh0+SOmEXyV/arNNr8ftt13imTqKRDA36M689Y1 FGQ0GN8/RTJGICoV4JXlbQ359mIhOKPZNRnzYWf9cAvNa2vLtfTSgj5jgMI4HZ76sPdu wXHGnOJ/r8l3dD8Yqu2ww4DmE1fGhR29prfPpgtfabK5ZZrvkk9SFU6KBUwyKpl+xcN5 jTxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bKJF9cPL; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-crypto+bounces-2838-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2838-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g4-20020a170906198400b00a44ea0ed34esi993696ejd.911.2024.03.23.10.21.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 10:21:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2838-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bKJF9cPL; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-crypto+bounces-2838-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2838-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9B8CC1F217E9 for ; Sat, 23 Mar 2024 17:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE89753368; Sat, 23 Mar 2024 17:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bKJF9cPL" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BE6014AA3; Sat, 23 Mar 2024 17:21:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711214477; cv=none; b=t+BFXHTXfcZ4A/cSnPkFPDas2ZbhZH3HiTJD9emgoBZW7v7k5RL9CwW+F10zjxEasm8gtb8xJqXngZkkFzBMXFTGbYx8MFkfAU2Og0rvK6bTQk1E++RtlKTyi+tv1k4nMRJuWODx6jPRcePbZqNaFq9cy9NJtNwea7I+lfw7euY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711214477; c=relaxed/simple; bh=OsREQ2fNMKnuSyFasChhSF2hjYV+QJEmAnW6Q9VjOF4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=eJ7xifQ3CBllDmbU7J8aNYxg+omHqSICtd+qvrqKTB7jeCrBecRy1CGJFtBDnB6t72gzX0mLlMf6pB4q0IvfNOFlp/juS91BkeFNJuAtjXmJ5kRc4W3lNXil3kOX686jrSn8u1TWVqNf36KB256Kp+cRDqEA6vPmTDeW+mLDb4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bKJF9cPL; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1def2a1aafaso19747845ad.3; Sat, 23 Mar 2024 10:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711214475; x=1711819275; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=8SKbKvutu0TRknCHMhc3WTIdZ3pqPX7klZawq+6tT8w=; b=bKJF9cPLam8mPWD2GYguX7It29Nkl15ND+BazsiA7uRlb1EKSvpn3zOXGl+JK7GlM+ 7Op3CCUM4apNck8Ry3qPi8NiJCL/r3iSaTNNXN/eNdHvWud2RXnEYsr163GfH00aU5c9 JjfNh3RczLuMhzcbe7EFLGPr+wKeYW+Ril4jBTyVMSAcigbrfAPGCt4UqI44TvQ2zQ/u 70B30cIPK6jqobOjZZJg/M0W+MbwusT6zA1480VxWfBCfWTt12kG66tXBGjfUUT1Xlqi czmltJrDrir3/cMdwugoWFE/LpXhSf0G6DPdZ+PQ0JHNKEHf2b48YAoIckeanNZRPMx2 rv9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711214475; x=1711819275; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8SKbKvutu0TRknCHMhc3WTIdZ3pqPX7klZawq+6tT8w=; b=I9wPW4trT7adnGLedL3I/AF3AkbXp7mRU5gpCm11SeBDWiWsHRgmiJsKMn2o7EjliT ASVBsz7lAMbJvHoNKpJ52HXoo/s1DCROty8Pb1zIMDSHCz3MeX++IjBlYMr761Ih+RYz fMMzKVVGWH+3bEEdy6EzwxR4i8r3+FBNvbgmOr9wcARxv0oMrPlcMYJm6gCIHAnDNCoW cMuwV18ESjhPW0u9tLrF3rBCvDv9UnO5c1xQeapfZ5XVqcpBNAQjWFzbTMdI7JPMKNjC ObQRLCIGCmoNH/ye4A8bJZcjkuzA0qfwUNMwrZJwam5JmnLMYMunUNB7/uF+Vu4zm3Ny lTXA== X-Forwarded-Encrypted: i=1; AJvYcCULtCyFVVDf7WmsNZAh19hw+q+MroRsM3AMxVJOzPOLrfvB0gr13mcItO7+J5Sqn+MVckUQq0MAd9ehmrX/5rT19b/RLbF4b2z4uCXMZTU6RRFMs8ASF7iKEh8WM8qbtiu6km8j8txtRI4O5Evl/0shsU5F/iRA3n6sVV+n+MDoEvK7yCLO+TxPg/OkPcx5cf9b2OGfamLdMSs1S7yJGqNvScib X-Gm-Message-State: AOJu0YyRhnrsMLi51O8TT29H1r6TV1zd7qq1PPBEkCr92u218hBYhIee C7xzKl9t9xMBLNlHVZnZv/BqTfeTn7lPCU8lA7T0AmqQeaMDWqdQ X-Received: by 2002:a17:903:24b:b0:1e0:384:ecb9 with SMTP id j11-20020a170903024b00b001e00384ecb9mr3531940plh.8.1711214475419; Sat, 23 Mar 2024 10:21:15 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id u13-20020a170902e5cd00b001e042dc5202sm1801130plf.80.2024.03.23.10.21.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Mar 2024 10:21:14 -0700 (PDT) Sender: Guenter Roeck Message-ID: <1c6848dc-62c2-417f-80d0-ad70b394c477@roeck-us.net> Date: Sat, 23 Mar 2024 10:21:10 -0700 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 08/11] devm-helpers: Add resource managed version of debugfs directory create function Content-Language: en-US To: =?UTF-8?Q?Marek_Beh=C3=BAn?= , Arnd Bergmann , Gregory CLEMENT , soc@kernel.org, arm@kernel.org, =?UTF-8?Q?Horia_Geant=C4=83?= , Pankaj Gupta , Gaurav Jain , Herbert Xu , "David S. Miller" , Bamvor Jian Zhang , Linus Walleij , Bartosz Golaszewski , Douglas Anderson , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , James Seo , Jean Delvare , Hans de Goede , Matti Vaittinen , Naresh Solanki , Patrick Rudolph , Jonathan Cameron , James Clark , Eddie James , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-hwmon@vger.kernel.org References: <20240323164359.21642-1-kabel@kernel.org> <20240323164359.21642-9-kabel@kernel.org> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5W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szZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <20240323164359.21642-9-kabel@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/23/24 09:43, Marek BehĂșn wrote: > A few drivers register a devm action to remove a debugfs directory, > implementing a one-liner function that calls debufs_remove_recursive(). > Help drivers avoid this repeated implementations by adding managed > version of debugfs directory create function. > > Use the new function devm_debugfs_create_dir() in the following > drivers: > drivers/crypto/caam/ctrl.c > drivers/gpu/drm/bridge/ti-sn65dsi86.c > drivers/hwmon/hp-wmi-sensors.c > drivers/hwmon/mr75203.c > drivers/hwmon/pmbus/pmbus_core.c > Please split this up into multiple patches, at least separating out the hwmon patches. Guenter