drm: drm_err: Remove unnecessary __func__ argument
authorJoe Perches <joe@perches.com>
Sun, 12 Oct 2014 05:08:57 +0000 (22:08 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 12 Oct 2014 18:57:16 +0000 (20:57 +0200)
commita1f1a79c51fd493887bb66d932ee66a23f8b1527
treeb98bb7f80f0aba379a0541cf0302acc4ebaec728
parentbd008e5b2953186fc0c6633a885ade95e7043800
drm: drm_err: Remove unnecessary __func__ argument

Removing the unnecessary drm_err __func__ argument by using
the equivalent %pf and __builtin_return_address(0) makes the
code smaller for every use of the DRM_ERROR macro.

For instance: (allmodconfig)

$ size drivers/gpu/drm/i915/i915.o*
   text    data     bss     dec     hex filename
 922447  193257  296736 1412440  158d58 drivers/gpu/drm/i915/i915.o.new
 928111  193257  296736 1418104  15a378 drivers/gpu/drm/i915/i915.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_drv.c
include/drm/drmP.h