Commit e91a36b4 authored by Sui Jingfeng's avatar Sui Jingfeng Committed by Neil Armstrong
Browse files

drm/panel: ili9341: Remove a superfluous else after return

parent b94605a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -722,7 +722,8 @@ static int ili9341_probe(struct spi_device *spi)

	if (!strcmp(id->name, "sf-tc240t-9370-t"))
		return ili9341_dpi_probe(spi, dc, reset);
	else if (!strcmp(id->name, "yx240qv29"))

	if (!strcmp(id->name, "yx240qv29"))
		return ili9341_dbi_probe(spi, dc, reset);

	return -1;