move things around
This commit is contained in:
parent
2f9e0e992b
commit
d12a41d333
6 changed files with 7 additions and 10 deletions
|
@ -12,16 +12,16 @@
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <device.h>
|
#include <zephyr/device.h>
|
||||||
#include <init.h>
|
#include <zephyr/init.h>
|
||||||
#include <sys/byteorder.h>
|
#include <zephyr/sys/byteorder.h>
|
||||||
#include <drivers/gpio.h>
|
#include <zephyr/drivers/gpio.h>
|
||||||
#include <drivers/i2c.h>
|
#include <zephyr/drivers/i2c.h>
|
||||||
#include <drivers/ext_power.h>
|
#include <drivers/ext_power.h>
|
||||||
|
|
||||||
#define LOG_LEVEL CONFIG_GPIO_LOG_LEVEL
|
#define LOG_LEVEL CONFIG_GPIO_LOG_LEVEL
|
||||||
#include <logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
|
|
||||||
LOG_MODULE_REGISTER(gpio_max7318);
|
LOG_MODULE_REGISTER(gpio_max7318);
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,6 @@ compatible: "maxim,max7318"
|
||||||
include: [gpio-controller.yaml, i2c-device.yaml]
|
include: [gpio-controller.yaml, i2c-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
"#gpio-cells":
|
"#gpio-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue