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:
Anas Nashif 2018-02-06 22:31:50 -06:00 committed by Anas Nashif
commit dcb0acff70

View file

@ -190,7 +190,7 @@ static const int _INIT_LEVEL_APPLICATION = 1;
*/ */
#define DEVICE_GET(name) (&DEVICE_NAME_GET(name)) #define DEVICE_GET(name) (&DEVICE_NAME_GET(name))
/** @def DEVICE_DECLARE /** @def DEVICE_DECLARE
* *
* @brief Declare a static device object * @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) u32_t device_power_state)
{ {
return device->config->device_pm_control(device, 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) u32_t *device_power_state)
{ {
return device->config->device_pm_control(device, return device->config->device_pm_control(device,
DEVICE_PM_GET_POWER_STATE, device_power_state); DEVICE_PM_GET_POWER_STATE,
device_power_state);
} }
/** /**