drm: cleanup DRM_DEBUG() parameters
[deliverable/linux.git] / drivers / char / drm / i915_mem.c
index d360896f38a65c26429eda50277ab6266bd16277..6126a60dc9cb19ceb335b9e335a04ecfe6d25559 100644 (file)
@@ -276,7 +276,7 @@ int i915_mem_alloc(struct drm_device *dev, void *data,
        struct mem_block *block, **heap;
 
        if (!dev_priv) {
-               DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
+               DRM_ERROR("called with no initialization\n");
                return -EINVAL;
        }
 
@@ -314,7 +314,7 @@ int i915_mem_free(struct drm_device *dev, void *data,
        struct mem_block *block, **heap;
 
        if (!dev_priv) {
-               DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
+               DRM_ERROR("called with no initialization\n");
                return -EINVAL;
        }
 
@@ -342,7 +342,7 @@ int i915_mem_init_heap(struct drm_device *dev, void *data,
        struct mem_block **heap;
 
        if (!dev_priv) {
-               DRM_ERROR("%s called with no initialization\n", __FUNCTION__);
+               DRM_ERROR("called with no initialization\n");
                return -EINVAL;
        }
 
@@ -366,7 +366,7 @@ int i915_mem_destroy_heap( struct drm_device *dev, void *data,
        struct mem_block **heap;
 
        if ( !dev_priv ) {
-               DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ );
+               DRM_ERROR( "called with no initialization\n" );
                return -EINVAL;
        }
 
This page took 0.043125 seconds and 5 git commands to generate.