)]}'
{
  "commit": "beec8b05a8f11de474c88cdec15cdf89dbd3a86b",
  "tree": "971958647c36c21d42bb0e3874792ca1188f3a4b",
  "parents": [
    "634416bc49d7ce8b498a93467c82ff6f5d784114"
  ],
  "author": {
    "name": "Gerard Marull-Paretas",
    "email": "gerard@teslabs.com",
    "time": "Wed Sep 13 14:05:58 2023 +0200"
  },
  "committer": {
    "name": "Carles Cufí",
    "email": "carles.cufi@nordicsemi.no",
    "time": "Thu Sep 21 15:02:45 2023 +0200"
  },
  "message": "device: only allow PRE_KERNEL_1/2 and POST_KERNEL levels\n\nBecause devices share the same underlying infrastructure with SYS_INIT,\nthe same levels have always been available. However, not all of them are\nneeded, and some are not even usable. For example, `EARLY` can\u0027t be used\nbecause when initialized `z_device_state_init` has not been called yet.\n`SMP` has never been used by device drivers, and it is now in question,\nlikely to be moved to SMP specific hooks. Finally, `APPLICATION` does\nnot make much sense in the context of Kernel devices. Note that of the 3\nlevels just mentioned, only one was actively tested (`APPLICATION`) by\nKernel tests, meaning others were likely never considered in the context\nof devices.\n\nThis patch leaves `PRE_KERNEL_1`, `PRE_KERNEL_2` and `POST_KERNEL`\navailable to devices. Others have been deprecated, and will generate a\ncompiler warning if used.\n\nSigned-off-by: Gerard Marull-Paretas \u003cgerard@teslabs.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e5c3b37d93e368b9c09f9a2df406754bb9df744",
      "old_mode": 33188,
      "old_path": "doc/releases/migration-guide-3.5.rst",
      "new_id": "387aacaf282199e6338c5d2a1af588ac9d195471",
      "new_mode": 33188,
      "new_path": "doc/releases/migration-guide-3.5.rst"
    },
    {
      "type": "modify",
      "old_id": "ce9b6c1312e724d706c0f79b7490ce1e7dbd424e",
      "old_mode": 33188,
      "old_path": "include/zephyr/device.h",
      "new_id": "ca59579500090b5ea59d696ef1c0e0aec0a2f082",
      "new_mode": 33188,
      "new_path": "include/zephyr/device.h"
    }
  ]
}
