diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-09-25 00:28:13 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-25 00:28:13 -0400 |
commit | b5e89ed53ed8d24f83ba1941c07382af00ed238e (patch) | |
tree | 747bae7a565f88a2e1d5974776eeb054a932c505 /drivers/char/drm/drm_drawable.c | |
parent | 99a2657a29e2d623c3568cd86b27cac13fb63140 (diff) |
drm: lindent the drm directory.
I've been threatening this for a while, so no point hanging around.
This lindents the DRM code which was always really bad in tabbing department.
I've also fixed some misnamed files in comments and removed some trailing
whitespace.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_drawable.c')
-rw-r--r-- | drivers/char/drm/drm_drawable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/drm_drawable.c b/drivers/char/drm/drm_drawable.c index e8e8e42be4c7..7857453c4f48 100644 --- a/drivers/char/drm/drm_drawable.c +++ b/drivers/char/drm/drm_drawable.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * \file drm_drawable.h | 2 | * \file drm_drawable.c |
3 | * IOCTLs for drawables | 3 | * IOCTLs for drawables |
4 | * | 4 | * |
5 | * \author Rickard E. (Rik) Faith <faith@valinux.com> | 5 | * \author Rickard E. (Rik) Faith <faith@valinux.com> |
@@ -37,20 +37,20 @@ | |||
37 | 37 | ||
38 | /** No-op. */ | 38 | /** No-op. */ |
39 | int drm_adddraw(struct inode *inode, struct file *filp, | 39 | int drm_adddraw(struct inode *inode, struct file *filp, |
40 | unsigned int cmd, unsigned long arg) | 40 | unsigned int cmd, unsigned long arg) |
41 | { | 41 | { |
42 | drm_draw_t draw; | 42 | drm_draw_t draw; |
43 | 43 | ||
44 | draw.handle = 0; /* NOOP */ | 44 | draw.handle = 0; /* NOOP */ |
45 | DRM_DEBUG("%d\n", draw.handle); | 45 | DRM_DEBUG("%d\n", draw.handle); |
46 | if (copy_to_user((drm_draw_t __user *)arg, &draw, sizeof(draw))) | 46 | if (copy_to_user((drm_draw_t __user *) arg, &draw, sizeof(draw))) |
47 | return -EFAULT; | 47 | return -EFAULT; |
48 | return 0; | 48 | return 0; |
49 | } | 49 | } |
50 | 50 | ||
51 | /** No-op. */ | 51 | /** No-op. */ |
52 | int drm_rmdraw(struct inode *inode, struct file *filp, | 52 | int drm_rmdraw(struct inode *inode, struct file *filp, |
53 | unsigned int cmd, unsigned long arg) | 53 | unsigned int cmd, unsigned long arg) |
54 | { | 54 | { |
55 | return 0; /* NOOP */ | 55 | return 0; /* NOOP */ |
56 | } | 56 | } |