summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-gpio-register.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-gpio-register.c')
-rw-r--r--drivers/leds/leds-gpio-register.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c
index 75717ba68ae0..ccc01fa72e6f 100644
--- a/drivers/leds/leds-gpio-register.c
+++ b/drivers/leds/leds-gpio-register.c
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Pengutronix
* Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation.
*/
#include <linux/err.h>
#include <linux/leds.h>
@@ -13,6 +10,7 @@
/**
* gpio_led_register_device - register a gpio-led device
+ * @id: platform ID
* @pdata: the platform data used for the new device
*
* Makes a copy of pdata and pdata->leds and registers a new leds-gpio device