mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
MIPS: SEAD3: Get rid of DRVNAME from LED driver for readability.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
2ead2d7349
commit
2c0916d4b7
1 changed files with 1 additions and 3 deletions
|
@ -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 = {
|
||||||
.probe = sead3_led_probe,
|
.probe = sead3_led_probe,
|
||||||
.remove = sead3_led_remove,
|
.remove = sead3_led_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRVNAME,
|
.name = "sead3-led",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue