gpio: rename typedef for devicetree flags
gpio_dt_flags_t is shorter and consistent with DT_ prefix. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
f017209821
commit
37239dbcbf
19 changed files with 22 additions and 22 deletions
|
@ -28,7 +28,7 @@ struct sdhc_spi_data {
|
|||
struct spi_config cfg;
|
||||
struct device *cs;
|
||||
u32_t pin;
|
||||
gpio_devicetree_flags_t flags;
|
||||
gpio_dt_flags_t flags;
|
||||
|
||||
bool high_capacity;
|
||||
u32_t sector_count;
|
||||
|
|
|
@ -439,11 +439,11 @@ struct usdhc_client_info {
|
|||
struct usdhc_board_config {
|
||||
struct device *pwr_gpio;
|
||||
u32_t pwr_pin;
|
||||
gpio_devicetree_flags_t pwr_flags;
|
||||
gpio_dt_flags_t pwr_flags;
|
||||
|
||||
struct device *detect_gpio;
|
||||
u32_t detect_pin;
|
||||
gpio_devicetree_flags_t detect_flags;
|
||||
gpio_dt_flags_t detect_flags;
|
||||
struct gpio_callback detect_cb;
|
||||
};
|
||||
|
||||
|
@ -2230,7 +2230,7 @@ static void usdhc_cd_gpio_cb(struct device *dev,
|
|||
}
|
||||
|
||||
static int usdhc_cd_gpio_init(struct device *detect_gpio,
|
||||
u32_t pin, gpio_devicetree_flags_t flags,
|
||||
u32_t pin, gpio_dt_flags_t flags,
|
||||
struct gpio_callback *callback)
|
||||
{
|
||||
int ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue