sensors: cleanup duplicate includes

zephyr.h includes nanokernel.h which includes cpu.h, so make it
simple and just include nanokernel.h. zephyr.h should only be
included in applications.

Change-Id: I11a9ad8608d23af4f2a40a97eb71c09516c3399b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-06 16:45:52 -04:00 committed by Anas Nashif
commit e3706c98f3

View file

@ -16,13 +16,10 @@
* limitations under the License.
*/
#include <arch/cpu.h>
#include <device.h>
#include <i2c.h>
#include <init.h>
#include <nanokernel.h>
#include <init.h>
#include <i2c.h>
#include <sensor.h>
#include <zephyr.h>
#include <misc/__assert.h>
#include "sensor_isl29035.h"