aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/i915_dma.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/i915_dma.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/i915_dma.c')
-rw-r--r--drivers/char/drm/i915_dma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/i915_dma.c b/drivers/char/drm/i915_dma.c
index 24f86e07d6a4..43986d81ae34 100644
--- a/drivers/char/drm/i915_dma.c
+++ b/drivers/char/drm/i915_dma.c
@@ -657,7 +657,7 @@ static int i915_getparam(struct drm_device *dev, void *data,
657 int value; 657 int value;
658 658
659 if (!dev_priv) { 659 if (!dev_priv) {
660 DRM_ERROR("%s called with no initialization\n", __FUNCTION__); 660 DRM_ERROR("called with no initialization\n");
661 return -EINVAL; 661 return -EINVAL;
662 } 662 }
663 663
@@ -691,7 +691,7 @@ static int i915_setparam(struct drm_device *dev, void *data,
691 drm_i915_setparam_t *param = data; 691 drm_i915_setparam_t *param = data;
692 692
693 if (!dev_priv) { 693 if (!dev_priv) {
694 DRM_ERROR("%s called with no initialization\n", __FUNCTION__); 694 DRM_ERROR("called with no initialization\n");
695 return -EINVAL; 695 return -EINVAL;
696 } 696 }
697 697
@@ -721,7 +721,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data,
721 drm_i915_hws_addr_t *hws = data; 721 drm_i915_hws_addr_t *hws = data;
722 722
723 if (!dev_priv) { 723 if (!dev_priv) {
724 DRM_ERROR("%s called with no initialization\n", __FUNCTION__); 724 DRM_ERROR("called with no initialization\n");
725 return -EINVAL; 725 return -EINVAL;
726 } 726 }
727 727