modulename: fan.ko

configname: CONFIG_ACPI_FAN

Linux Kernel Configuration
└─>Power management and ACPI options
└─>ACPI (Advanced Configuration and Power Interface) Support
In linux kernel since version 3.10 (release Date: 2013-06-30)  
This driver supports ACPI fan devices, allowing user-mode
applications to perform basic fan control (on, off, status).

To compile this driver as a module, choose M here:
the module will be called fan.

source code: