hwmon: (pmbus) Export pmbus device debugfs directory entry
authorEdward A. James <eajames@us.ibm.com>
Mon, 11 Dec 2017 21:32:49 +0000 (15:32 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jan 2018 23:05:34 +0000 (15:05 -0800)
commiteb6489b696ad22a8464e20502e18014434b4b0ea
treed176fd5dd95c1f8cd01a84161ac9768db2c2c1bb
parent571e3f3a8e6582ecce2c7fd5d0a9e2ae74cece02
hwmon: (pmbus) Export pmbus device debugfs directory entry

Pmbus client drivers, if they want to use debugfs, should use the same
root directory as the pmbus debugfs entries are using. Therefore, export
the device dentry for the pmbus client.

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