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/radeon_mem.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/radeon_mem.c')
-rw-r--r-- | drivers/char/drm/radeon_mem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/radeon_mem.c b/drivers/char/drm/radeon_mem.c index a29acfe2f973..78b34fa7c89a 100644 --- a/drivers/char/drm/radeon_mem.c +++ b/drivers/char/drm/radeon_mem.c | |||
@@ -224,7 +224,7 @@ int radeon_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_p | |||
224 | struct mem_block *block, **heap; | 224 | struct mem_block *block, **heap; |
225 | 225 | ||
226 | if (!dev_priv) { | 226 | if (!dev_priv) { |
227 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 227 | DRM_ERROR("called with no initialization\n"); |
228 | return -EINVAL; | 228 | return -EINVAL; |
229 | } | 229 | } |
230 | 230 | ||
@@ -259,7 +259,7 @@ int radeon_mem_free(struct drm_device *dev, void *data, struct drm_file *file_pr | |||
259 | struct mem_block *block, **heap; | 259 | struct mem_block *block, **heap; |
260 | 260 | ||
261 | if (!dev_priv) { | 261 | if (!dev_priv) { |
262 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 262 | DRM_ERROR("called with no initialization\n"); |
263 | return -EINVAL; | 263 | return -EINVAL; |
264 | } | 264 | } |
265 | 265 | ||
@@ -285,7 +285,7 @@ int radeon_mem_init_heap(struct drm_device *dev, void *data, struct drm_file *fi | |||
285 | struct mem_block **heap; | 285 | struct mem_block **heap; |
286 | 286 | ||
287 | if (!dev_priv) { | 287 | if (!dev_priv) { |
288 | DRM_ERROR("%s called with no initialization\n", __FUNCTION__); | 288 | DRM_ERROR("called with no initialization\n"); |
289 | return -EINVAL; | 289 | return -EINVAL; |
290 | } | 290 | } |
291 | 291 | ||