Commit 600bf7ae authored by Gabriela Bittencourt's avatar Gabriela Bittencourt Committed by Greg Kroah-Hartman

staging: sm750fb: Replace multiple spaces with tabs when it suits

Replace multiple spaces before some comments with one tab. Aligning the
comment with the function below it.
Signed-off-by: default avatarGabriela Bittencourt <gabrielabittencourt00@gmail.com>
Link: https://lore.kernel.org/r/20191029232207.4113-3-gabrielabittencourt00@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 94d70f66
...@@ -243,21 +243,21 @@ int sm750_hw_copyarea(struct lynx_accel *accel, ...@@ -243,21 +243,21 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
*/ */
write_dpr(accel, DE_WINDOW_DESTINATION_BASE, dBase); /* dpr44 */ write_dpr(accel, DE_WINDOW_DESTINATION_BASE, dBase); /* dpr44 */
/* /*
* Program pitch (distance between the 1st points of two adjacent lines). * Program pitch (distance between the 1st points of two adjacent lines).
* Note that input pitch is BYTE value, but the 2D Pitch register uses * Note that input pitch is BYTE value, but the 2D Pitch register uses
* pixel values. Need Byte to pixel conversion. * pixel values. Need Byte to pixel conversion.
*/ */
write_dpr(accel, DE_PITCH, write_dpr(accel, DE_PITCH,
((dPitch / Bpp << DE_PITCH_DESTINATION_SHIFT) & ((dPitch / Bpp << DE_PITCH_DESTINATION_SHIFT) &
DE_PITCH_DESTINATION_MASK) | DE_PITCH_DESTINATION_MASK) |
(sPitch / Bpp & DE_PITCH_SOURCE_MASK)); /* dpr10 */ (sPitch / Bpp & DE_PITCH_SOURCE_MASK)); /* dpr10 */
/* /*
* Screen Window width in Pixels. * Screen Window width in Pixels.
* 2D engine uses this value to calculate the linear address in frame buffer * 2D engine uses this value to calculate the linear address in frame buffer
* for a given point. * for a given point.
*/ */
write_dpr(accel, DE_WINDOW_WIDTH, write_dpr(accel, DE_WINDOW_WIDTH,
((dPitch / Bpp << DE_WINDOW_WIDTH_DST_SHIFT) & ((dPitch / Bpp << DE_WINDOW_WIDTH_DST_SHIFT) &
DE_WINDOW_WIDTH_DST_MASK) | DE_WINDOW_WIDTH_DST_MASK) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment