sensors: mcp9808: move mcp9808 to own directory under drivers/sensor/

Change-Id: I8327d821b95b5bd8c13d5f24dd5ec46fa53b2d18
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-15 08:20:00 -04:00 committed by Anas Nashif
commit 6977cad1e2
7 changed files with 7 additions and 6 deletions

View file

@ -88,7 +88,7 @@ source "drivers/sensor/lsm9ds0_mfd/Kconfig"
source "drivers/sensor/max44009/Kconfig"
source "drivers/sensor/Kconfig.mcp9808"
source "drivers/sensor/mcp9808/Kconfig"
source "drivers/sensor/Kconfig.mpu6050"

View file

@ -19,8 +19,7 @@ obj-$(CONFIG_LSM6DS0) += lsm6ds0/
obj-$(CONFIG_LSM9DS0_GYRO) += lsm9ds0_gyro/
obj-$(CONFIG_LSM9DS0_MFD) += lsm9ds0_mfd/
obj-$(CONFIG_MAX44009) += max44009/
obj-$(CONFIG_MCP9808) += sensor_mcp9808.o
obj-$(CONFIG_MCP9808_TRIGGER) += sensor_mcp9808_trigger.o
obj-$(CONFIG_MCP9808) += mcp9808/
obj-$(CONFIG_MPU6050) += sensor_mpu6050.o
obj-$(CONFIG_MPU6050_TRIGGER) += sensor_mpu6050_trigger.o
obj-$(CONFIG_SHT3XD) += sensor_sht3xd.o

View file

@ -1,4 +1,4 @@
# Kconfig.mcp9808 - MCP9808 temperature sensor configuration options
# Kconfig - MCP9808 temperature sensor configuration options
#
# Copyright (c) 2016 Intel Corporation

View file

@ -0,0 +1,2 @@
obj-$(CONFIG_MCP9808) += mcp9808.o
obj-$(CONFIG_MCP9808_TRIGGER) += mcp9808_trigger.o

View file

@ -24,7 +24,7 @@
#include <misc/byteorder.h>
#include <misc/__assert.h>
#include "sensor_mcp9808.h"
#include "mcp9808.h"
int mcp9808_reg_read(struct mcp9808_data *data, uint8_t reg, uint16_t *val)

View file

@ -22,7 +22,7 @@
#include <misc/byteorder.h>
#include <misc/__assert.h>
#include "sensor_mcp9808.h"
#include "mcp9808.h"
static int mcp9808_reg_write(struct mcp9808_data *data, uint8_t reg, uint16_t val)
{