diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2015-01-16 15:59:03 -0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-01-20 09:29:35 +0800 |
commit | 5fbf7f27fa3da2c7b538772cfe3340391ef8b3b9 (patch) | |
tree | 4258a014545ddf26bc29a86ef91dff9b37aa15a6 /include/sound/adau1373.h | |
parent | ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc (diff) |
Thermal/int340x: Add common thermal zone handler
Most of the processing for each int340x driver to add a thermal zone
is very similar and every driver has to duplicate code.
Created a common module, which exports API to add and remove zones.
In this way, we not only avoid duplicate code but also helps in
bug fixes and enhancements.
If for some driver default processing for thermal zone callback is
not enough they can overide individual callback.
The code for this driver is primarily copied from int3402_thermal.c.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/sound/adau1373.h')
0 files changed, 0 insertions, 0 deletions