Skip to contentSkip to conversation

2 of 20 Update MODULE_* macro (atxp1.c)

PATCH New Jesse Millan 1 participant 1 message Sep 18, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2 of 20 Update MODULE_* macro (atxp1.c)

This patch updates the MODULE_VERSION() macro calls to status quo.

i.e.

MODULE_VERSION("1.0");

is changed to:

#define DRIVER_VERSION "1.0"
...
MODULE_VERSION(DRIVER_VERSION);

Also, calls like this:

MODULE_AUTHOR("John Doe ([email protected])");

will be cleaned up to:

#define DRIVER_AUTHOR "John Doe <[email protected]>"
...
MODULE_AUTHOR(DRIVER_AUTHOR);

etc. etc.

---

 drivers/hwmon/atxp1.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/hwmon/atxp1.c renamed from drivers/hwmon/atxp1.c~MOD_VERS_Conform_atxp1 +4 -4
diff -puN drivers/hwmon/atxp1.c~MOD_VERS_Conform_atxp1 drivers/hwmon/atxp1.c
@@ -27,10 +27,10 @@
 #include <linux/hwmon-vid.h>
 #include <linux/err.h>
 
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("System voltages control via Attansic ATXP1");
-MODULE_VERSION("0.6.2");
-MODULE_AUTHOR("Sebastian Witt <[email protected]>");
+#define DRIVER_AUTHOR "Sebastian Witt <[email protected]>"
+#define DRIVER_DESCRIPTION "System voltages control via Attansic ATXP1"
+#define DRIVER_VERSION "0.6.2"
+#define DRIVER_LICENSE "GPL"
 
 #define ATXP1_VID	0x00
 #define ATXP1_CVID	0x01

_

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors