hwmon: (adt7470) Expose PWM frequency to sysfs
authorJoshua Scott <joshua.scott@alliedtelesis.co.nz>
Mon, 8 Aug 2016 01:35:45 +0000 (13:35 +1200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 9 Sep 2016 04:34:16 +0000 (21:34 -0700)
commitaa18cc911ae2f172429d59169e95726b8e63525c
treed158a192829981a81aee9299b1895d7bf02eeb5a
parent30fe976fe7a8de2d29c152cdcae207231503d564
hwmon: (adt7470) Expose PWM frequency to sysfs

The ADT7470 supports a variety of PWM frequencies. This patch allows the
frequency to be configured and viewed through the sysfs entry pwm1_freq.

Signed-off-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/adt7470
drivers/hwmon/adt7470.c