Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions kernel/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@
#include <zephyr/toolchain.h>
#include <zephyr/pm/device_runtime.h>

/**
* @brief Initialize state for all static devices.
*
* The state object is always zero-initialized, but this may not be
* sufficient.
*/
void z_device_state_init(void)
{
STRUCT_SECTION_FOREACH(device, dev) {
k_object_init(dev);
}
}

int do_device_init(const struct device *dev)
{
int rc = 0;
Expand Down
Loading