Commit 2c0916d4 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: SEAD3: Get rid of DRVNAME from LED driver for readability.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2ead2d73
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/io.h> #include <linux/io.h>
#define DRVNAME "sead3-led"
static void sead3_pled_set(struct led_classdev *led_cdev, static void sead3_pled_set(struct led_classdev *led_cdev,
enum led_brightness value) enum led_brightness value)
{ {
...@@ -65,7 +63,7 @@ static struct platform_driver sead3_led_driver = { ...@@ -65,7 +63,7 @@ static struct platform_driver sead3_led_driver = {
.probe = sead3_led_probe, .probe = sead3_led_probe,
.remove = sead3_led_remove, .remove = sead3_led_remove,
.driver = { .driver = {
.name = DRVNAME, .name = "sead3-led",
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment