Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4529d891 authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: Remove blank lines after { and before } braces.



Removed unnecessary blank lines after open brace and before closed
braces, to fix the check patch issue. Also removed braces which were not
required.

Signed-off-by: default avatarVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4ce9386
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -806,7 +806,6 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index)
	}
	}


	for (i = 0; i < 3; i++) {
	for (i = 0; i < 3; i++) {

		ret = fb_find_mode(var, info, g_fbmode[index],
		ret = fb_find_mode(var, info, g_fbmode[index],
				   pdb[i], cdb[i], NULL, 8);
				   pdb[i], cdb[i], NULL, 8);


+0 −4
Original line number Original line Diff line number Diff line
@@ -259,8 +259,6 @@ unsigned int rop2) /* ROP value */
	if (accel->de_wait() != 0)
	if (accel->de_wait() != 0)
		return -1;
		return -1;


	{

	write_dpr(accel, DE_SOURCE,
	write_dpr(accel, DE_SOURCE,
		  ((sx << DE_SOURCE_X_K1_SHIFT) & DE_SOURCE_X_K1_MASK) |
		  ((sx << DE_SOURCE_X_K1_SHIFT) & DE_SOURCE_X_K1_MASK) |
		  (sy & DE_SOURCE_Y_K2_MASK)); /* dpr0 */
		  (sy & DE_SOURCE_Y_K2_MASK)); /* dpr0 */
@@ -276,8 +274,6 @@ unsigned int rop2) /* ROP value */
		DE_CONTROL_COMMAND_BITBLT | DE_CONTROL_STATUS;
		DE_CONTROL_COMMAND_BITBLT | DE_CONTROL_STATUS;
	write_dpr(accel, DE_CONTROL, de_ctrl); /* dpr0c */
	write_dpr(accel, DE_CONTROL, de_ctrl); /* dpr0c */


	}

	return 0;
	return 0;
}
}


+0 −4
Original line number Original line Diff line number Diff line
@@ -131,10 +131,7 @@ void sm750_hw_cursor_setData(struct lynx_cursor *cursor,
		} else {
		} else {
			pbuffer += sizeof(u16);
			pbuffer += sizeof(u16);
		}
		}

	}
	}


}
}




@@ -178,6 +175,5 @@ void sm750_hw_cursor_setData2(struct lynx_cursor *cursor,
		} else {
		} else {
			pbuffer += sizeof(u16);
			pbuffer += sizeof(u16);
		}
		}

	}
	}
}
}