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
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue