drm/i915: Don't use a define when it's clearer to just put the value
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 27 Aug 2014 10:30:20 +0000 (11:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:30 +0000 (11:04 +0200)
Instead of going through hoops, just put the driver author directly as
DRM_AUTHOR() argument. This will also make it consistent when we add
Intel to the list.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h

index d02398720237c9e9d85ecf604b8e93478d63b895..e72a713432bc16c150f7fa8db7042006a3154016 100644 (file)
@@ -1706,6 +1706,7 @@ static void __exit i915_exit(void)
 module_init(i915_init);
 module_exit(i915_exit);
 
-MODULE_AUTHOR(DRIVER_AUTHOR);
+MODULE_AUTHOR("Tungsten Graphics, Inc.");
+
 MODULE_DESCRIPTION(DRIVER_DESC);
 MODULE_LICENSE("GPL and additional rights");
index 71e36d2b993e61ac13e0e026c779d1d33f5d9707..5957db463e2710051647ee25325ef40209d7584b 100644 (file)
@@ -50,8 +50,6 @@
 /* General customization:
  */
 
-#define DRIVER_AUTHOR          "Tungsten Graphics, Inc."
-
 #define DRIVER_NAME            "i915"
 #define DRIVER_DESC            "Intel Graphics"
 #define DRIVER_DATE            "20140822"