Fix issues of newly introduced overlong lines, due to name enlargement
within the former two patches.

Co-developed-by: Daniel Bauer <daniel.j.ba...@fau.de>
Signed-off-by: Daniel Bauer <daniel.j.ba...@fau.de>
Signed-off-by: Sven Leykauf <sven_leyka...@web.de>
---
 drivers/staging/sm750fb/ddk750_dvi.c    | 24 ++++++++++++------------
 drivers/staging/sm750fb/ddk750_sii164.c |  3 ++-
 drivers/staging/sm750fb/sm750_accel.c   |  8 +++++---
 3 files changed, 19 insertions(+), 16 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_dvi.c 
b/drivers/staging/sm750fb/ddk750_dvi.c
index 930f56d91474..1536e252e37c 100644
--- a/drivers/staging/sm750fb/ddk750_dvi.c
+++ b/drivers/staging/sm750fb/ddk750_dvi.c
@@ -13,20 +13,20 @@
  */
 static struct dvi_ctrl_device g_dcft_supported_dvi_controller[] = {
 #ifdef DVI_CTRL_SII164
-       {
-               .pfn_init = sii164_init_chip,
-               .pfn_get_vendor_id = sii164_get_vendor_id,
-               .pfn_get_device_id = sii164_get_device_id,
+{
+       .pfn_init = sii164_init_chip,
+       .pfn_get_vendor_id = sii164_get_vendor_id,
+       .pfn_get_device_id = sii164_get_device_id,
 #ifdef SII164_FULL_FUNCTIONS
-               .pfn_reset_chip = sii164_reset_chip,
-               .pfn_get_chip_string = sii164_get_chip_string,
-               .pfn_set_power = sii164_set_power,
-               .pfn_enable_hot_plug_detection = 
sii164_enable_hot_plug_detection,
-               .pfn_is_connected = sii164_is_connected,
-               .pfn_check_interrupt = sii164_check_interrupt,
-               .pfn_clear_interrupt = sii164_clear_interrupt,
+       .pfn_reset_chip = sii164_reset_chip,
+       .pfn_get_chip_string = sii164_get_chip_string,
+       .pfn_set_power = sii164_set_power,
+       .pfn_enable_hot_plug_detection = sii164_enable_hot_plug_detection,
+       .pfn_is_connected = sii164_is_connected,
+       .pfn_check_interrupt = sii164_check_interrupt,
+       .pfn_clear_interrupt = sii164_clear_interrupt,
 #endif
-       },
+},
 #endif
 };
 
diff --git a/drivers/staging/sm750fb/ddk750_sii164.c 
b/drivers/staging/sm750fb/ddk750_sii164.c
index 781eceb2f402..47895df1173e 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.c
+++ b/drivers/staging/sm750fb/ddk750_sii164.c
@@ -301,7 +301,8 @@ void sii164_set_power(unsigned char power_up)
  *  sii164_select_hot_plug_detection_mode
  *      This function selects the mode of the hot plug detection.
  */
-static void sii164_select_hot_plug_detection_mode(enum sii164_hot_plug_mode 
hot_plug_mode)
+static void sii164_select_hot_plug_detection_mode(enum sii164_hot_plug_mode
+                                                 hot_plug_mode)
 {
        unsigned char detect_reg;
 
diff --git a/drivers/staging/sm750fb/sm750_accel.c 
b/drivers/staging/sm750fb/sm750_accel.c
index d1f940120721..86605df163f0 100644
--- a/drivers/staging/sm750fb/sm750_accel.c
+++ b/drivers/staging/sm750fb/sm750_accel.c
@@ -18,7 +18,8 @@
 
 #include "sm750.h"
 #include "sm750_accel.h"
-static inline void write_dpr(struct lynx_accel *accel, int offset, u32 
reg_value)
+static inline void write_dpr(struct lynx_accel *accel,
+                            int offset, u32 reg_value)
 {
        writel(reg_value, accel->dpr_base + offset);
 }
@@ -354,7 +355,7 @@ int sm750_hw_imageblit(struct lynx_accel *accel, const char 
*p_srcbuf,
        write_dpr(accel, DE_PITCH,
                  ((d_pitch / byte_per_pixel << DE_PITCH_DESTINATION_SHIFT) &
                   DE_PITCH_DESTINATION_MASK) |
-                 (d_pitch / byte_per_pixel & DE_PITCH_SOURCE_MASK)); /* dpr10 
*/
+                 (d_pitch / byte_per_pixel & DE_PITCH_SOURCE_MASK));/* dpr10 */
 
        /*
         * Screen Window width in Pixels.
@@ -396,7 +397,8 @@ int sm750_hw_imageblit(struct lynx_accel *accel, const char 
*p_srcbuf,
        for (i = 0; i < height; i++) {
                /* For each line, send the data in chunks of 4 bytes */
                for (j = 0; j < (ul_4bytes_per_scan / 4); j++)
-                       write_dp_port(accel, *(unsigned int *)(p_srcbuf + (j * 
4)));
+                       write_dp_port(accel,
+                                     *(unsigned int *)(p_srcbuf + (j * 4)));
 
                if (ul_bytes_remain) {
                        memcpy(aj_remain, p_srcbuf + ul_4bytes_per_scan,
-- 
2.20.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to