driver: clock_controller: return values of clock_control apis directly.
return values of clock_control_on()/clock_control_get_rate() directly in case overwriting error codes. Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
This commit is contained in:
parent
ad539e5a1c
commit
507f31472c
7 changed files with 57 additions and 35 deletions
|
@ -27,6 +27,6 @@
|
|||
#define NPCX_PWDWN_CTL6 5
|
||||
#define NPCX_PWDWN_CTL7 6
|
||||
#define NPCX_PWDWN_CTL8 7
|
||||
#define NPCX_PWDWN_CTL_NONE 8
|
||||
#define NPCX_PWDWN_CTL_COUNT 8
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue