Punit Vara
e5620a2b87
drivers: sensor: Migrate to new logger
...
Move all sensor drivers and samples to new logging system.
Signed-off-by: Punit Vara <punit.vara@intel.com>
2018-10-16 08:49:53 -04:00
Kumar Gala
4a3f5e5c7d
drivers: sensor: pms7003: Rename CONFIG_PMS7003_SERIAL_TIMEOUT
...
Rename CONFIG_PMS7003_SERIAL_TIMEOUT to CFG_PMS7003_SERIAL_TIMEOUT as it
was not exposed in Kconfig as a configurable option. So don't use the
CONFIG_ prefix for non-Kconfig symbols.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-05-23 17:57:06 -04:00
Punit Vara
c26a00bf42
drivers: pms7003: Initialise driver with DEVICE_AND_API_INIT
...
Replace DEVICE_INIT with DEVICE_AND_API_INIT to reduce code size
Signed-off-by: Punit Vara <punit.vara@intel.com>
2018-02-05 12:04:20 -06:00
Yongfa Zhou
ce6f6f4985
drivers: sensor: Fix some code style issues
...
Signed-off-by: Yongfa Zhou <yongfa.zhou@intel.com>
2017-11-27 22:17:38 -05:00
Yongfa Zhou
85c6b060b0
drivers: sensor: Add plantower PMS7003 Driver
...
Tested on STM32F103 board
Origin: Original
Signed-off-by: Yongfa Zhou <yongfa.zhou@intel.com>
2017-11-27 22:17:38 -05:00