staging: fbtft: Reformat line over 80 characters
authorDeepak R Varma <mh12gx2825@gmail.com>
Sun, 15 Mar 2020 23:41:06 +0000 (05:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 11:47:24 +0000 (12:47 +0100)
A long variable name beyond 80 characters extends  into the next
line. Reformatting the line makes it more readable. Also adding an extra
line for the next instruction following current if block helps
understand it better.

Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Link: https://lore.kernel.org/r/027ccfa893feafc25da273b4b4de444d7a466cfd.1584314603.git.mh12gx2825@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c

index d3e098b41b1a4698878950299a4cf2273798f42a..4f362dad4436a145550eaadf0aa21fd2c89cc6b9 100644 (file)
@@ -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;