summaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-sead3
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-03-27 21:57:36 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:22:06 +0200
commit2c0916d4b706bff58221cf7f58a40ef8e997f537 (patch)
tree781aec9848409994f33f911ba4b4f01d01a8ab06 /arch/mips/mti-sead3
parent2ead2d73494ec86b8e35e0a8a1054b16bb66b5c0 (diff)
downloadlinux-2c0916d4b706bff58221cf7f58a40ef8e997f537.tar.bz2
MIPS: SEAD3: Get rid of DRVNAME from LED driver for readability.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-sead3')
-rw-r--r--arch/mips/mti-sead3/leds-sead3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/mti-sead3/leds-sead3.c b/arch/mips/mti-sead3/leds-sead3.c
index d03c743da7c3..d2159cd72098 100644
--- a/arch/mips/mti-sead3/leds-sead3.c
+++ b/arch/mips/mti-sead3/leds-sead3.c
@@ -13,8 +13,6 @@
#include <linux/err.h>
#include <linux/io.h>
-#define DRVNAME "sead3-led"
-
static void sead3_pled_set(struct led_classdev *led_cdev,
enum led_brightness value)
{
@@ -65,7 +63,7 @@ static struct platform_driver sead3_led_driver = {
.probe = sead3_led_probe,
.remove = sead3_led_remove,
.driver = {
- .name = DRVNAME,
+ .name = "sead3-led",
},
};