device: cleanup header layout
run through uncrustify and fix a few layout issues. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
48d11ba18b
commit
dcb0acff70
1 changed files with 59 additions and 57 deletions
|
@ -190,7 +190,7 @@ static const int _INIT_LEVEL_APPLICATION = 1;
|
|||
*/
|
||||
#define DEVICE_GET(name) (&DEVICE_NAME_GET(name))
|
||||
|
||||
/** @def DEVICE_DECLARE
|
||||
/** @def DEVICE_DECLARE
|
||||
*
|
||||
* @brief Declare a static device object
|
||||
*
|
||||
|
@ -362,7 +362,8 @@ static inline int device_set_power_state(struct device *device,
|
|||
u32_t device_power_state)
|
||||
{
|
||||
return device->config->device_pm_control(device,
|
||||
DEVICE_PM_SET_POWER_STATE, &device_power_state);
|
||||
DEVICE_PM_SET_POWER_STATE,
|
||||
&device_power_state);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -382,7 +383,8 @@ static inline int device_get_power_state(struct device *device,
|
|||
u32_t *device_power_state)
|
||||
{
|
||||
return device->config->device_pm_control(device,
|
||||
DEVICE_PM_GET_POWER_STATE, device_power_state);
|
||||
DEVICE_PM_GET_POWER_STATE,
|
||||
device_power_state);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue