drm: cleanup DRM_DEBUG() parameters
[linux-2.6-block.git] / drivers / char / drm / i915_dma.c
index 24f86e07d6a48873dc09eda0bb1987672ecf7942..43986d81ae34f4b26fd8b1c4f717f1ae0ea13c17 100644 (file)
@@ -657,7 +657,7 @@ static int i915_getparam(struct drm_device *dev, void *data,
        int value;
 
        if (!dev_priv) {
-               DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
+               DRM_ERROR("called with no initialization\n");
                return -EINVAL;
        }
 
@@ -691,7 +691,7 @@ static int i915_setparam(struct drm_device *dev, void *data,
        drm_i915_setparam_t *param = data;
 
        if (!dev_priv) {
-               DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
+               DRM_ERROR("called with no initialization\n");
                return -EINVAL;
        }
 
@@ -721,7 +721,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data,
        drm_i915_hws_addr_t *hws = data;
 
        if (!dev_priv) {
-               DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
+               DRM_ERROR("called with no initialization\n");
                return -EINVAL;
        }