Convert remaining code to using newly introduced integer sized types

Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99
integer types.  This handles the remaining includes and kernel, plus
touching up various points that we skipped because of include
dependancies.  We also convert the PRI printf formatters in the arch
code over to normal formatters.

Jira: ZEP-2051

Change-Id: Iecbb12601a3ee4ea936fd7ddea37788a645b08b0
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-04-21 10:55:34 -05:00
commit cc334c7273
132 changed files with 1420 additions and 1429 deletions

View file

@ -274,7 +274,7 @@ struct device_config {
char *name;
int (*init)(struct device *device);
#ifdef CONFIG_DEVICE_POWER_MANAGEMENT
int (*device_pm_control)(struct device *device, uint32_t command,
int (*device_pm_control)(struct device *device, u32_t command,
void *context);
#endif
const void *config_info;
@ -353,7 +353,7 @@ void device_busy_clear(struct device *busy_dev);
* @retval 0 Always returns 0
*/
int device_pm_control_nop(struct device *unused_device,
uint32_t unused_ctrl_command, void *unused_context);
u32_t unused_ctrl_command, void *unused_context);
/**
* @brief Call the set power state function of a device
*
@ -367,7 +367,7 @@ int device_pm_control_nop(struct device *unused_device,
* @retval Errno Negative errno code if failure.
*/
static inline int device_set_power_state(struct device *device,
uint32_t device_power_state)
u32_t device_power_state)
{
return device->config->device_pm_control(device,
DEVICE_PM_SET_POWER_STATE, &device_power_state);
@ -387,7 +387,7 @@ static inline int device_set_power_state(struct device *device,
* @retval Errno Negative errno code if failure.
*/
static inline int device_get_power_state(struct device *device,
uint32_t *device_power_state)
u32_t *device_power_state)
{
return device->config->device_pm_control(device,
DEVICE_PM_GET_POWER_STATE, device_power_state);