Skip to contentSkip to conversation

staging: fbtft: Reformat line over 80 characters

PATCH New Deepak R Varma 1 participant 1 message Mar 11, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: fbtft: Reformat line over 80 characters

A long variable name beyond 80 characters gets exended into the next line. Reformating the line makes it more readable. Also adding an extra line for the next instruction following current if block helps understand it better.

---
 drivers/staging/fbtft/fbtft-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/fbtft/fbtft-core.c +3 -1
index d3e098b41b1a..4f362dad4436 100644
@@ -1186,7 +1186,9 @@ static struct fbtft_platform_data *fbtft_properties_read(struct device *dev)
 	if (device_property_present(dev, "led-gpios"))
 		pdata->display.backlight = 1;
 	if (device_property_present(dev, "init"))
-		pdata->display.fbtftops.init_display = fbtft_init_display_from_property;
+		pdata->display.fbtftops.init_display =
+			fbtft_init_display_from_property;
+
 	pdata->display.fbtftops.request_gpios = fbtft_request_gpios;
 
 	return pdata;
Signature · 1 line
2.17.1