[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211227224201.508331-1-demonsingur@gmail.com>
Date: Tue, 28 Dec 2021 00:42:00 +0200
From: Cosmin Tanislav <demonsingur@...il.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: cosmin.tanislav@...log.com, demonsingur@...il.com,
Jean Delvare <jdelvare@...e.com>,
Jonathan Corbet <corbet@....net>, linux-hwmon@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/1] Add hwmon debugfs register access
V1 -> V2:
* remove error messages that are reported to userspace
* remove IS_ERR checks that are already done by called functions
* unconditionally define hwmon_device_{un,}register_debugfs
* unconditionally define struct hwmon_device members
* match hwmon_debugfs_read_reg parameter indentation with
hwmon_debugfs_write_reg parameter indentation
* inline hdev in reg_access calls
* remove useless initialization of val inside hwmon_debugfs_read_reg
* move checks outside of hwmon_device_register_debugfs
* debugfs_reg_access -> reg_access
* lookup device debugfs dentry rather than storing it in
struct hwmon_device
Cosmin Tanislav (1):
hwmon: Add debugfs register access
Documentation/hwmon/hwmon-kernel-api.rst | 9 +++
drivers/hwmon/hwmon.c | 99 ++++++++++++++++++++++++
include/linux/hwmon.h | 12 +++
3 files changed, 120 insertions(+)
--
2.34.1
Powered by blists - more mailing lists