OSDN Git Service

iio: potentiometer: mcp4531: switch to SPDX license identifier
authorPeter Rosin <peda@axentia.se>
Mon, 20 Aug 2018 10:01:11 +0000 (12:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 20 Aug 2018 18:26:25 +0000 (19:26 +0100)
Drop the boilerplate license text and use the correct MODULE_LICENSE.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiometer/mcp4531.c

index d87ca85..d71a22d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Industrial I/O driver for Microchip digital potentiometers
  * Copyright (c) 2015  Axentia Technologies AB
  * mcp4652     2       257             5, 10, 50, 100          01011xx
  * mcp4661     2       257             5, 10, 50, 100          0101xxx
  * mcp4662     2       257             5, 10, 50, 100          01011xx
- *
- * 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/module.h>
@@ -400,4 +397,4 @@ module_i2c_driver(mcp4531_driver);
 
 MODULE_AUTHOR("Peter Rosin <peda@axentia.se>");
 MODULE_DESCRIPTION("MCP4531 digital potentiometer");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");