diff --git a/drm_iface.c b/drm_iface.c index d546b57..9f08d3e 100644 --- a/drm_iface.c +++ b/drm_iface.c @@ -635,10 +635,10 @@ void drm_remove(struct spi_device *spi) if (panel->gpio_scs) { - devm_gpiod_put(dev, panel->gpio_scs) + devm_gpiod_put(dev, panel->gpio_scs); } - devm_gpiod_put(dev, panel->gpio_disp) - devm_gpiod_put(dev, panel->gpio_vcom) + devm_gpiod_put(dev, panel->gpio_disp); + devm_gpiod_put(dev, panel->gpio_vcom); drm_dev_unplug(drm);