[PATCH] f75375s allow setting up fans with platform_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

* Riku Voipio <riku.voipio at iki.fi> [2007-09-26 13:14:40 +0300]:
> 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: Riku Voipio <riku.voipio at movial.fi>
> ---
>  drivers/hwmon/f75375s.c |   42 +++++++++++++++++++++++++++++++++++-------
>  include/linux/f75375s.h |   21 +++++++++++++++++++++
>  2 files changed, 56 insertions(+), 7 deletions(-)
>  create mode 100644 include/linux/f75375s.h

Applied to hwmon-2.6.git/testing, thanks.

-- 
Mark M. Hoffman
mhoffman at lightlink.com





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux