sensor: remove SENSOR_VALUE_TYPE_INT

Remove SENSOR_VALUE_TYPE_INT as it is the same as
SENSOR_VALUE_TYPE_INT_PLUS_MICRO with val2 set to 0.

Change-Id: If5a9c579b7267701c27f40fd887acae47d64edc5
Signed-off-by: Bogdan Davidoaia <bogdan.m.davidoaia@intel.com>
This commit is contained in:
Bogdan Davidoaia 2016-12-07 15:55:35 +02:00 committed by Anas Nashif
commit 4946e3e6e6
19 changed files with 34 additions and 65 deletions

View file

@ -110,7 +110,7 @@ static int tmp112_attr_set(struct device *dev,
switch (attr) {
case SENSOR_ATTR_FULL_SCALE:
if (val->type != SENSOR_VALUE_TYPE_INT) {
if (val->type != SENSOR_VALUE_TYPE_INT_PLUS_MICRO) {
return -ENOTSUP;
}