Skip to content
Commit ff312d07 authored by Riku Voipio's avatar Riku Voipio Committed by Mark M. Hoffman
Browse files

hwmon: (f75375s) Allow setting up fans with platform_data



Allow initializing fans on systems where BIOS does not do that by
default.

 - define f75375s_platform_data in new file f75375s.h
 - if platform_data was provided, set fans accordingly in f75375_init()
 - split set_pwm_enable() to a sysfs callback and directly usable
   set_pwm_enable_direct()

Signed-off-by: default avatarRiku Voipio <riku.voipio@movial.fi>
Signed-off-by: default avatarMark M. Hoffman <mhoffman@lightlink.com>
parent 620c142d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment