diff options
author | Márton Németh <nm127@freemail.hu> | 2008-01-24 00:58:57 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 00:09:39 -0500 |
commit | 3e684eae586a9b210a4517da5637a255b1ff5a92 (patch) | |
tree | d8703d708e8fd37f0f1a74d9328e2da3faa555fc /drivers/char/drm/via_mm.c | |
parent | 4d1f78880e9631fb08052dcc8e3341eecea537e0 (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/via_mm.c')
-rw-r--r-- | drivers/char/drm/via_mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/via_mm.c b/drivers/char/drm/via_mm.c index 69f655848a30..e64094916e4f 100644 --- a/drivers/char/drm/via_mm.c +++ b/drivers/char/drm/via_mm.c | |||
@@ -53,7 +53,7 @@ int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv) | |||
53 | dev_priv->agp_offset = agp->offset; | 53 | dev_priv->agp_offset = agp->offset; |
54 | mutex_unlock(&dev->struct_mutex); | 54 | mutex_unlock(&dev->struct_mutex); |
55 | 55 | ||
56 | DRM_DEBUG("offset = %u, size = %u", agp->offset, agp->size); | 56 | DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size); |
57 | return 0; | 57 | return 0; |
58 | } | 58 | } |
59 | 59 | ||
@@ -77,7 +77,7 @@ int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv) | |||
77 | dev_priv->vram_offset = fb->offset; | 77 | dev_priv->vram_offset = fb->offset; |
78 | 78 | ||
79 | mutex_unlock(&dev->struct_mutex); | 79 | mutex_unlock(&dev->struct_mutex); |
80 | DRM_DEBUG("offset = %u, size = %u", fb->offset, fb->size); | 80 | DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size); |
81 | 81 | ||
82 | return 0; | 82 | return 0; |
83 | 83 | ||