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

@ -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);
} }
/** /**