We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1055cdd commit fa695dbCopy full SHA for fa695db
drivers/gpu/drm/panel/panel-ilitek-ili9341.c
@@ -422,7 +422,7 @@ static int ili9341_dpi_prepare(struct drm_panel *panel)
422
423
ili9341_dpi_init(ili);
424
425
- return ret;
+ return 0;
426
}
427
428
static int ili9341_dpi_enable(struct drm_panel *panel)
@@ -726,7 +726,7 @@ static int ili9341_probe(struct spi_device *spi)
726
else if (!strcmp(id->name, "yx240qv29"))
727
return ili9341_dbi_probe(spi, dc, reset);
728
729
- return -1;
+ return -ENODEV;
730
731
732
static void ili9341_remove(struct spi_device *spi)
0 commit comments