hwmon: (pmbus) Add debugfs for status registers
authorEdward A. James <eajames@us.ibm.com>
Mon, 14 Aug 2017 18:55:41 +0000 (13:55 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 14 Aug 2017 19:22:07 +0000 (12:22 -0700)
commit1e069dfd96dfeacf1d781f6eaea9426aed0b0909
treecb12c48afdff1a072f1ffcb69cccac72448e50dc
parentf198907d2ff6db9541863764576aaf3bc9f58ec0
hwmon: (pmbus) Add debugfs for status registers

Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-page pmbus devices,
as user-space access of the i2c space could corrupt the pmbus page
accounting.

Signed-off-by: Edward A. James <eajames@us.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c