drivers/staging/media: atomisp: Removing redundant information from dev_err
authorPushkar Jambhlekar <pushkar.iit@gmail.com>
Mon, 27 Mar 2017 15:14:15 +0000 (16:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:04:50 +0000 (09:04 +0200)
Removing hardcoded function name as code is already using __func__

Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm_bo.c

index 82593ef35b2dcffade5af83e40c9c7099d6f495a..6c4ab5aa2a8d7ca2cb7650d5f458e664f8af5367 100644 (file)
@@ -63,7 +63,7 @@ struct hmm_buffer_object *__bo_alloc(struct kmem_cache *bo_cache)
 
        bo = kmem_cache_alloc(bo_cache, GFP_KERNEL);
        if (!bo)
-               dev_err(atomisp_dev, "%s: __bo_alloc failed!\n", __func__);
+               dev_err(atomisp_dev, "%s: failed!\n", __func__);
 
        return bo;
 }