All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: GMA500: Convert spaces to tabs in accel_2d.c.
@ 2011-08-15 21:13 Akshay Joshi
  2011-08-16 14:09 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Akshay Joshi @ 2011-08-15 21:13 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Alan Cox, Akshay Joshi, devel, linux-kernel

Convert the spaces within the accel_2d.c file to tabs in order to comply
with the coding style of the kernel.

Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
---
 drivers/staging/gma500/accel_2d.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/gma500/accel_2d.c b/drivers/staging/gma500/accel_2d.c
index 14400fc..be92371 100644
--- a/drivers/staging/gma500/accel_2d.c
+++ b/drivers/staging/gma500/accel_2d.c
@@ -118,7 +118,7 @@ static int psbfb_2d_submit(struct drm_psb_private *dev_priv, uint32_t *cmdbuf,
 		size -= submit_size;
 		ret = psb_2d_wait_available(dev_priv, submit_size);
 		if (ret)
-		        break;
+			break;
 
 		submit_size <<= 2;
 
@@ -388,19 +388,19 @@ int psb_accel_ioctl(struct drm_device *dev, void *data, struct drm_file *file)
 	for (i = 0; i < op->size; i++, op_ptr++) {
 		u32 r = *op_ptr & 0xF0000000;
 		/* Fill in the GTT offsets for the command buffer */
-        	if (r == PSB_2D_SRC_SURF_BH ||
-			r == PSB_2D_DST_SURF_BH || 
+		if (r == PSB_2D_SRC_SURF_BH ||
+			r == PSB_2D_DST_SURF_BH ||
 			r == PSB_2D_MASK_SURF_BH ||
 			r == PSB_2D_PAT_SURF_BH) {
 			i++;
 			op_ptr++;
 			if (i == op->size)
 				goto bad;
-                        if (*op_ptr)
+			if (*op_ptr)
 				goto bad;
-                        *op_ptr = gtt->offset;
-                        continue;
-                }
+			*op_ptr = gtt->offset;
+			continue;
+		}
 	}
 	psbfb_2d_submit(dev_priv, op->cmd, op->size);
 	err = 0;
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Staging: GMA500: Convert spaces to tabs in accel_2d.c.
  2011-08-15 21:13 [PATCH] Staging: GMA500: Convert spaces to tabs in accel_2d.c Akshay Joshi
@ 2011-08-16 14:09 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2011-08-16 14:09 UTC (permalink / raw)
  To: Akshay Joshi; +Cc: Greg Kroah-Hartman, devel, linux-kernel

On Mon, 15 Aug 2011 17:13:34 -0400
Akshay Joshi <me@akshayjoshi.com> wrote:

> Staging: GMA500: Convert spaces to tabs in accel_2d.c.

Applied - thanks

Alan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-16 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15 21:13 [PATCH] Staging: GMA500: Convert spaces to tabs in accel_2d.c Akshay Joshi
2011-08-16 14:09 ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.