linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Add hwmon debugfs register access
@ 2021-12-27 22:42 Cosmin Tanislav
  2021-12-27 22:42 ` [PATCH v2 1/1] hwmon: Add " Cosmin Tanislav
  0 siblings, 1 reply; 5+ messages in thread
From: Cosmin Tanislav @ 2021-12-27 22:42 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: cosmin.tanislav, demonsingur, Jean Delvare, Jonathan Corbet,
	linux-hwmon, linux-doc, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-28 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-27 22:42 [PATCH v2 0/1] Add hwmon debugfs register access Cosmin Tanislav
2021-12-27 22:42 ` [PATCH v2 1/1] hwmon: Add " Cosmin Tanislav
2021-12-28 16:13   ` Guenter Roeck
2021-12-28 16:51     ` Cosmin Tanislav
2021-12-28 17:09       ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).