aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/sis_mm.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2008-01-24 00:58:57 -0500
committerDave Airlie <airlied@redhat.com>2008-02-07 00:09:39 -0500
commit3e684eae586a9b210a4517da5637a255b1ff5a92 (patch)
treed8703d708e8fd37f0f1a74d9328e2da3faa555fc /drivers/char/drm/sis_mm.c
parent4d1f78880e9631fb08052dcc8e3341eecea537e0 (diff)
drm: cleanup DRM_DEBUG() parameters
As DRM_DEBUG macro already prints out the __FUNCTION__ string (see drivers/char/drm/drmP.h), it is not worth doing this again. At some other places the ending "\n" was added. airlied:- I cleaned up a few that this patch missed also Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/sis_mm.c')
-rw-r--r--drivers/char/drm/sis_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c
index 42836f4104ea..b3878770fce1 100644
--- a/drivers/char/drm/sis_mm.c
+++ b/drivers/char/drm/sis_mm.c
@@ -115,7 +115,7 @@ static int sis_fb_init(struct drm_device *dev, void *data, struct drm_file *file
115 dev_priv->vram_offset = fb->offset; 115 dev_priv->vram_offset = fb->offset;
116 116
117 mutex_unlock(&dev->struct_mutex); 117 mutex_unlock(&dev->struct_mutex);
118 DRM_DEBUG("offset = %u, size = %u", fb->offset, fb->size); 118 DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size);
119 119
120 return 0; 120 return 0;
121} 121}
@@ -205,7 +205,7 @@ static int sis_ioctl_agp_init(struct drm_device *dev, void *data,
205 dev_priv->agp_offset = agp->offset; 205 dev_priv->agp_offset = agp->offset;
206 mutex_unlock(&dev->struct_mutex); 206 mutex_unlock(&dev->struct_mutex);
207 207
208 DRM_DEBUG("offset = %u, size = %u", agp->offset, agp->size); 208 DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size);
209 return 0; 209 return 0;
210} 210}
211 211