diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-03-27 21:57:36 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 17:22:06 +0200 |
commit | 2c0916d4b706bff58221cf7f58a40ef8e997f537 (patch) | |
tree | 781aec9848409994f33f911ba4b4f01d01a8ab06 | |
parent | 2ead2d73494ec86b8e35e0a8a1054b16bb66b5c0 (diff) | |
download | linux-2c0916d4b706bff58221cf7f58a40ef8e997f537.tar.gz linux-2c0916d4b706bff58221cf7f58a40ef8e997f537.tar.bz2 linux-2c0916d4b706bff58221cf7f58a40ef8e997f537.zip |
MIPS: SEAD3: Get rid of DRVNAME from LED driver for readability.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/mti-sead3/leds-sead3.c | 4 |
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", }, }; |