[PATCH] mux: adgs1408: use the correct MODULE_LICENSE

From: Peter Rosin
Date: Mon Aug 20 2018 - 06:11:52 EST


The file is GPL v2 or later.

Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>
---
drivers/mux/adgs1408.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Hi Mircea!

I just noticed a discrepancy in the license annotations in your
driver. The SPDX license identifier says GPL-2.0-or-later, and
I assume that is correct and that MODULE_LICENSE("GPL") without
the v2 specifier, as in this patch, is the correct thing to do?

Cheers,
Peter

diff --git a/drivers/mux/adgs1408.c b/drivers/mux/adgs1408.c
index 0f7cf54e3234..89096f10f4c4 100644
--- a/drivers/mux/adgs1408.c
+++ b/drivers/mux/adgs1408.c
@@ -128,4 +128,4 @@ module_spi_driver(adgs1408_driver);

MODULE_AUTHOR("Mircea Caprioru <mircea.caprioru@xxxxxxxxxx>");
MODULE_DESCRIPTION("Analog Devices ADGS1408 MUX driver");
-MODULE_LICENSE("GPL v2");
+MODULE_LICENSE("GPL");
--
2.11.0