summaryrefslogtreecommitdiffstats
path: root/drivers/serial/timbuart.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 20:31:47 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-28 20:31:47 +0200
commit01879a855fb6bdb3fb820344a7a145de8a5cdbda (patch)
tree152e9a958bfdd71692455d18348623b1cbb40929 /drivers/serial/timbuart.h
parent0e256018b0f35d1b22ca37e1d0e207f7ba3d0076 (diff)
hwmon: (w83795) Fix PWM duty cycle frequency attributes
The PWM duty cycle frequenty attributes are improperly named (fanN_div instead of pwmN_div) and contain raw values instead of actual frequencies. Rename them and fix their contents. Also improve the logic when the user asks for a new frequency, to always pick the closest supported frequency. The algorithm could certainly be optimized, but the operation is infrequent enough that I don't think it's worth the effort. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/serial/timbuart.h')
0 files changed, 0 insertions, 0 deletions