zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ee6fa31af6
commit
a1b77fd589
2364 changed files with 32505 additions and 32505 deletions
|
@ -20,9 +20,9 @@ LOG_MODULE_REGISTER(ps2_mchp_xec);
|
|||
|
||||
struct ps2_xec_config {
|
||||
PS2_Type *base;
|
||||
u8_t girq_id;
|
||||
u8_t girq_bit;
|
||||
u8_t isr_nvic;
|
||||
uint8_t girq_id;
|
||||
uint8_t girq_bit;
|
||||
uint8_t isr_nvic;
|
||||
};
|
||||
|
||||
struct ps2_xec_data {
|
||||
|
@ -36,7 +36,7 @@ static int ps2_xec_configure(struct device *dev, ps2_callback_t callback_isr)
|
|||
struct ps2_xec_data *data = dev->driver_data;
|
||||
PS2_Type *base = config->base;
|
||||
|
||||
u8_t __attribute__((unused)) dummy;
|
||||
uint8_t __attribute__((unused)) dummy;
|
||||
|
||||
if (!callback_isr) {
|
||||
return -EINVAL;
|
||||
|
@ -67,14 +67,14 @@ static int ps2_xec_configure(struct device *dev, ps2_callback_t callback_isr)
|
|||
}
|
||||
|
||||
|
||||
static int ps2_xec_write(struct device *dev, u8_t value)
|
||||
static int ps2_xec_write(struct device *dev, uint8_t value)
|
||||
{
|
||||
const struct ps2_xec_config *config = dev->config_info;
|
||||
struct ps2_xec_data *data = dev->driver_data;
|
||||
PS2_Type *base = config->base;
|
||||
int i = 0;
|
||||
|
||||
u8_t __attribute__((unused)) dummy;
|
||||
uint8_t __attribute__((unused)) dummy;
|
||||
|
||||
if (k_sem_take(&data->tx_lock, K_NO_WAIT)) {
|
||||
return -EACCES;
|
||||
|
@ -154,7 +154,7 @@ static void ps2_xec_isr(void *arg)
|
|||
const struct ps2_xec_config *config = dev->config_info;
|
||||
struct ps2_xec_data *data = dev->driver_data;
|
||||
PS2_Type *base = config->base;
|
||||
u32_t status;
|
||||
uint32_t status;
|
||||
|
||||
MCHP_GIRQ_SRC(config->girq_id) = BIT(config->girq_bit);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue