Commit Graph

4 Commits

Author SHA1 Message Date
Joe LeVeque
23247514f9
Fix a number of LGTM alerts (#5952)
Fix 259 alerts reported by the LGTM tool:

- 245 for Unused import
- 7 for Testing equality to None
- 5 for Duplicate key in dict literal
- 1 for Module is imported more than once
- 1 for Unused local variable
2020-11-20 10:58:48 -08:00
Guohan Lu
207e32a9f2 [platform-modules]: fix compile issues for platform driver under 4.19
1. undefine led_classdev_register as it is defined in leds.h
2. header file location change
   a. linux/i2c/pmbus.h -> linux/pmbus.h
   b. linux/i2c-mux-gpio.h -> linux/platform_data/i2c-mux-gpio.h
   c. linux/i2c/pca954x.h -> linux/platform_data/pca954x.h
2020-04-17 04:51:51 +00:00
Roy Lee
584ed989c8 [device][accton]Add fan monitor for as7816-64x (#2859)
* catch signal SIGINT and SIGTERM to set all fans full-speed before end fan monitor.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Add fan_control monitor for as7816-64x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Fix typo.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Correct typo and duty setting after verified.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-05-08 00:41:07 -07:00
Guohan Lu
5d46e050d6 [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00