projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ead2d7
)
MIPS: SEAD3: Get rid of DRVNAME from LED driver for readability.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 27 Mar 2015 20:57:36 +0000
(21:57 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 1 Apr 2015 15:22:06 +0000
(17:22 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-sead3/leds-sead3.c
patch
|
blob
|
history
diff --git
a/arch/mips/mti-sead3/leds-sead3.c
b/arch/mips/mti-sead3/leds-sead3.c
index d03c743da7c32e62ea087c2015f2fadc0e707581..d2159cd720984642bd465f03a2af269c70b6873d 100644
(file)
--- 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"
,
},
};