aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/sm750_accel.c
diff options
context:
space:
mode:
authorGabriela Bittencourt <gabrielabittencourt00@gmail.com>2019-10-29 20:22:07 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-30 10:38:47 +0100
commit600bf7aecebdd3756bdb4f48f5a44b86c6593053 (patch)
treeded26e59a751d7fdf3fb6e0f7e35303b58fc1831 /drivers/staging/sm750fb/sm750_accel.c
parentstaging: sm750fb: Fix typo in comment (diff)
downloadlinux-dev-600bf7aecebdd3756bdb4f48f5a44b86c6593053.tar.xz
linux-dev-600bf7aecebdd3756bdb4f48f5a44b86c6593053.zip
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: Gabriela Bittencourt <gabrielabittencourt00@gmail.com> Link: https://lore.kernel.org/r/20191029232207.4113-3-gabrielabittencourt00@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/sm750fb/sm750_accel.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c
index 5925d7c7d464..8faa601c700b 100644
--- a/drivers/staging/sm750fb/sm750_accel.c
+++ b/drivers/staging/sm750fb/sm750_accel.c
@@ -243,21 +243,21 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
*/
write_dpr(accel, DE_WINDOW_DESTINATION_BASE, dBase); /* dpr44 */
- /*
- * Program pitch (distance between the 1st points of two adjacent lines).
- * Note that input pitch is BYTE value, but the 2D Pitch register uses
- * pixel values. Need Byte to pixel conversion.
- */
+ /*
+ * Program pitch (distance between the 1st points of two adjacent lines).
+ * Note that input pitch is BYTE value, but the 2D Pitch register uses
+ * pixel values. Need Byte to pixel conversion.
+ */
write_dpr(accel, DE_PITCH,
((dPitch / Bpp << DE_PITCH_DESTINATION_SHIFT) &
DE_PITCH_DESTINATION_MASK) |
(sPitch / Bpp & DE_PITCH_SOURCE_MASK)); /* dpr10 */
- /*
- * Screen Window width in Pixels.
- * 2D engine uses this value to calculate the linear address in frame buffer
- * for a given point.
- */
+ /*
+ * Screen Window width in Pixels.
+ * 2D engine uses this value to calculate the linear address in frame buffer
+ * for a given point.
+ */
write_dpr(accel, DE_WINDOW_WIDTH,
((dPitch / Bpp << DE_WINDOW_WIDTH_DST_SHIFT) &
DE_WINDOW_WIDTH_DST_MASK) |