refactor: All SYS_INIT functions are void args.
This commit is contained in:
parent
f4fce9e158
commit
bf4008da02
21 changed files with 20 additions and 29 deletions
|
|
@ -11,8 +11,7 @@
|
|||
#include <zephyr/sys/sys_io.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
|
||||
static int pinmux_mikoto_init(const struct device *port) {
|
||||
ARG_UNUSED(port);
|
||||
static int pinmux_mikoto_init(void) {
|
||||
|
||||
#if CONFIG_BOARD_MIKOTO_520
|
||||
const struct device *p0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
|
||||
|
|
|
|||
|
|
@ -11,9 +11,7 @@
|
|||
#include <zephyr/sys/sys_io.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
|
||||
static int pinmux_nrfmicro_init(const struct device *port) {
|
||||
ARG_UNUSED(port);
|
||||
|
||||
static int pinmux_nrfmicro_init(void) {
|
||||
#if (CONFIG_BOARD_NRFMICRO_13 || CONFIG_BOARD_NRFMICRO_13_52833)
|
||||
const struct device *p0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
|
||||
#if CONFIG_BOARD_NRFMICRO_CHARGER
|
||||
|
|
|
|||
|
|
@ -11,9 +11,7 @@
|
|||
#include <zephyr/sys/sys_io.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
|
||||
static int pinmux_puchi_ble_init(const struct device *port) {
|
||||
ARG_UNUSED(port);
|
||||
|
||||
static int pinmux_puchi_ble_init(void) {
|
||||
#if CONFIG_BOARD_PUCHI_BLE_v1
|
||||
const struct device *p0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
|
||||
#if CONFIG_BOARD_PUCHI_BLE_CHARGER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue