aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2015-01-16 15:59:03 -0800
committerZhang Rui <[email protected]>2015-01-20 09:29:35 +0800
commit5fbf7f27fa3da2c7b538772cfe3340391ef8b3b9 (patch)
tree4258a014545ddf26bc29a86ef91dff9b37aa15a6 /lib/memory-notifier-error-inject.c
parentec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc (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 <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions