Instead of passing a single init function, create struct device_ops with the init function inside. This allows to easily extend device's capabilities in the future without too much breakage, e.g. to add a de-init call. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| src | ||
| app.overlay | ||
| CMakeLists.txt | ||
| prj.conf | ||
| README | ||
| testcase.yaml | ||
Test cases for the device API devicetree data.