From patchwork Sat Jan 25 12:39:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13950351 Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (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 A38F1207E07 for ; Sat, 25 Jan 2025 12:40:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737808820; cv=none; b=gtwF0Qy+JxCUTGzxFA2OKFAJEpHKMftya7mikH5/QONaG3Sx401xJ7QsS/4uGvyg359ll7mWPXy/WKiCr+89X+TLFlZ6XHfWOB+jKEQ5+O3E3Lth14hpQkZfY77QMQ/ReHrwhJ7vuI2Qpdz7ZAn954YBAey/2va1SoQyML4VuJU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737808820; c=relaxed/simple; bh=+tSpK9Ew8Zy/NfgVcc421SUrbcGyGk1bLqBeUafffk8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NmL6gSjmVabwJAGq+zVeERM1xLgNWuX2DYqwSRLxhVwWNWVQfV9E9Fbu7hwckyEF9vb13wLyDBOCksdkTk2vdkmlIn1fH36kpTfabY8B26I77duCQ6hWsHKN9H3+TJI/ED+nlseNwszSf4BZnwOSlU710soVSP6eTMkLBy5JeWQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=XdW9QhGP; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="XdW9QhGP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=BUiDItMTatdmhY M0QAH0NcfmW2Yq+hNBMKGBB2C2ejk=; b=XdW9QhGPTWAZo743KEYVW71RWFLPBR umfEF3pkuJNLYi0BF4DgCc8gSemkd8My38pmhQ8LpUDd3iV4OU1gEQJRcEYqWkDk qeQtg24H0SuL4g1eW4rZjN3YJjuy1wsKphXbKreJ0QpbnoEvTbZs+DOpAQcqxp4K Kw9QTvXTz7g/25G4JVCtNPaEp6HxydaJ98VFAPTigVugW0TVywfizn6qOCjw0QqA CIALxwz7k5vKhvqUfVH0LFMrBrKJAnik0rP1ghAfa4ddSgaMynAzdoG+fCCqucEi WOi4aZotR5fbuka9PTi6rSOkuHdBL0O/bW76HLQHUmBDdckTgMmTZ5cw== Received: (qmail 3871085 invoked from network); 25 Jan 2025 13:40:07 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 25 Jan 2025 13:40:07 +0100 X-UD-Smtp-Session: l3s3148p1@EyZjJIcsTOEujnvm From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Cosmo Chou , Guenter Roeck , Jean Delvare , linux-hwmon@vger.kernel.org, Luka Perkov , Nuno Sa , Robert Marko Subject: [PATCH RFT 0/6] hwmon: Use per-client debugfs entry Date: Sat, 25 Jan 2025 13:39:40 +0100 Message-ID: <20250125123941.36729-8-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The I2C core now offers a debugfs-directory per client. Use it and remove the custom handling in hwmon drivers. I don't have the hardware, so I hope I can find people willing to test here. Build bots are happy. Wolfram Sang (6): hwmon: (ina3221) Use per-client debugfs entry hwmon: (ltc4282) Use per-client debugfs entry hwmon: (pt5161l) Use per-client debugfs entry hwmon: (sg2042) Use per-client debugfs entry hwmon: (sht3x) Use per-client debugfs entry hwmon: (tps23861) Use per-client debugfs entry drivers/hwmon/ina3221.c | 9 +----- drivers/hwmon/ltc4282.c | 44 ++++++---------------------- drivers/hwmon/pt5161l.c | 59 ++++++++------------------------------ drivers/hwmon/sg2042-mcu.c | 44 +++++----------------------- drivers/hwmon/sht3x.c | 57 ++++++------------------------------ drivers/hwmon/tps23861.c | 31 ++------------------ 6 files changed, 38 insertions(+), 206 deletions(-)