diff options
| author | Srikar Srimath Tirumala <srikars@nvidia.com> | 2017-05-02 18:32:34 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-07 23:24:09 -0500 |
| commit | df7f4690cd12e8f92f47f37fcf8343277b3ab3bc (patch) | |
| tree | fcb5965e637daa569fe293103cc75e45ad739c51 /include/linux | |
| parent | 67767361a180e678d4363699ad08e57e4252b6e8 (diff) | |
misc: nct1008: clean cdev registration
The shutdown warning cooling device should register only once when
the sensors are being configured not every time the shutdown limits
are changed. Also remove trip point managment from the sensor driver.
Change-Id: I9a555d56662c83e9e81e9ca9f7041514383e1cca
Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1586407
Reviewed-by: Navneet Kumar <navneetk@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nct1008.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h index 45e7ed723..fa0f16edf 100644 --- a/include/linux/nct1008.h +++ b/include/linux/nct1008.h | |||
| @@ -45,8 +45,6 @@ struct nct1008_sensor_platform_data { | |||
| 45 | int shutdown_limit; | 45 | int shutdown_limit; |
| 46 | long suspend_limit_hi; | 46 | long suspend_limit_hi; |
| 47 | long suspend_limit_lo; | 47 | long suspend_limit_lo; |
| 48 | struct thermal_trip_info trips[THERMAL_MAX_TRIPS]; | ||
| 49 | int num_trips; | ||
| 50 | }; | 48 | }; |
| 51 | 49 | ||
| 52 | struct nct1008_platform_data { | 50 | struct nct1008_platform_data { |
