aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/occ/Kconfig
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-04-16 15:43:49 +0000
committerGuenter Roeck <linux@roeck-us.net>2019-04-16 15:13:54 -0700
commitafe8419eb628430fe80452b9fd36cd0ebf411bd2 (patch)
tree202a077b2cda0e598b21191f3ddd5611be50fa3f /drivers/hwmon/occ/Kconfig
parenthwmon: (occ) Store error condition for rate-limited polls (diff)
downloadlinux-dev-afe8419eb628430fe80452b9fd36cd0ebf411bd2.tar.xz
linux-dev-afe8419eb628430fe80452b9fd36cd0ebf411bd2.zip
hwmon: (occ) Prevent sysfs error attribute from returning error
The error sysfs attribute returns the stored error state of the OCC and doesn't depend on the OCC poll response. Therefore, split the error attribute into it's own function to avoid failing out of the function if the poll response fails. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/occ/Kconfig')
0 files changed, 0 insertions, 0 deletions