diff --git a/drivers/display/gd7965.c b/drivers/display/gd7965.c index a2dc02e7779..715b8dae7a2 100644 --- a/drivers/display/gd7965.c +++ b/drivers/display/gd7965.c @@ -376,14 +376,14 @@ static int gd7965_init(const struct device *dev) return -ENODEV; } - if (!device_is_ready(&config->reset_gpio.port)) { + if (!device_is_ready(config->reset_gpio.port)) { LOG_ERR("Reset GPIO device not ready"); return -ENODEV; } gpio_pin_configure_dt(&config->reset_gpio, GPIO_OUTPUT_INACTIVE); - if (!device_is_ready(&config->dc_gpio.port)) { + if (!device_is_ready(config->dc_gpio.port)) { LOG_ERR("DC GPIO device not ready"); return -ENODEV; } @@ -391,7 +391,7 @@ static int gd7965_init(const struct device *dev) gpio_pin_configure_dt(&config->dc_gpio, GPIO_OUTPUT_INACTIVE); - if (!device_is_ready(&config->busy_gpio.port)) { + if (!device_is_ready(config->busy_gpio.port)) { LOG_ERR("Busy GPIO device not ready"); return -ENODEV; }