drivers: regulator: move consumer.h to regulator.h
In Zephyr all regulator APIs are consumer APIs. There's no point in adding a separate header file. Our current implementation is also inconsistent with Linux, where enable/disable are also part of the consumer.h API. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
179a57a956
commit
74e40f88ae
5 changed files with 145 additions and 179 deletions
|
@ -8,9 +8,6 @@
|
|||
#include <zephyr/shell/shell.h>
|
||||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/drivers/regulator.h>
|
||||
#if CONFIG_REGULATOR_PMIC
|
||||
#include <zephyr/drivers/regulator/consumer.h>
|
||||
#endif
|
||||
|
||||
LOG_MODULE_REGISTER(regulator_shell, CONFIG_REGULATOR_LOG_LEVEL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue