i2c: Use separate MODULE_AUTHOR() statements for multiple authors
Subsystems (6)
PATCH 1/1 i2c: Use separate MODULE_AUTHOR() statements for multiple authors
Modules with multiple authors should use multiple MODULE_AUTHOR() statements. Split the i2c modules with multiple authors to use multiple MODULE_AUTHOR() statements.
---
I decided to change all these modules in one patch. I can split if needed.
--- drivers/i2c/algos/i2c-algo-pca.c | 4 ++-- drivers/i2c/busses/i2c-ali1535.c | 8 ++++---- drivers/i2c/busses/i2c-ali15x3.c | 6 +++--- drivers/i2c/busses/i2c-emev2.c | 3 ++- drivers/i2c/busses/i2c-i801.c | 3 ++- drivers/i2c/busses/i2c-piix4.c | 4 ++-- drivers/i2c/busses/i2c-pnx.c | 3 ++- drivers/i2c/busses/i2c-sh_mobile.c | 3 ++- drivers/i2c/busses/i2c-sibyte.c | 3 ++- drivers/i2c/i2c-dev.c | 4 ++-- 10 files changed, 23 insertions(+), 18 deletions(-)
drivers/i2c/algos/i2c-algo-pca.c +2 -2
@@ -541,8 +541,8 @@ int i2c_pca_add_numbered_bus(struct i2c_adapter *adap) }EXPORT_SYMBOL (i2c_pca_add_numbered_bus); -MODULE_AUTHOR ("Ian Campbell <[email protected]>, " -"Wolfram Sang <[email protected]>" ); +MODULE_AUTHOR ("Ian Campbell <[email protected]>" ); +MODULE_AUTHOR ("Wolfram Sang <[email protected]>" );MODULE_DESCRIPTION ("I2C-Bus PCA9564/PCA9665 algorithm" );MODULE_LICENSE ("GPL" );
drivers/i2c/busses/i2c-ali1535.c +4 -4
@@ -519,9 +519,9 @@ static struct pci_driver ali1535_driver = {module_pci_driver (ali1535_driver); -MODULE_AUTHOR ("Frodo Looijaard <[email protected]>, " -"Philip Edelbrock <[email protected]>, " -"Mark D. Studebaker <[email protected]> " -"and Dan Eaton <[email protected]>" ); +MODULE_AUTHOR ("Frodo Looijaard <[email protected]>" ); +MODULE_AUTHOR ("Philip Edelbrock <[email protected]>" ); +MODULE_AUTHOR ("Mark D. Studebaker <[email protected]>" ); +MODULE_AUTHOR ("Dan Eaton <[email protected]>" );MODULE_DESCRIPTION ("ALI1535 SMBus driver" );MODULE_LICENSE ("GPL" );
drivers/i2c/busses/i2c-ali15x3.c +3 -3
@@ -502,8 +502,8 @@ static struct pci_driver ali15x3_driver = {module_pci_driver (ali15x3_driver); -MODULE_AUTHOR ("Frodo Looijaard <[email protected]>, " -"Philip Edelbrock <[email protected]>, " -"and Mark D. Studebaker <[email protected]>" ); +MODULE_AUTHOR ("Frodo Looijaard <[email protected]>" ); +MODULE_AUTHOR ("Philip Edelbrock <[email protected]>" ); +MODULE_AUTHOR ("Mark D. Studebaker <[email protected]>" );MODULE_DESCRIPTION ("ALI15X3 SMBus driver" );MODULE_LICENSE ("GPL" );
drivers/i2c/busses/i2c-emev2.c +2 -1
@@ -442,6 +442,7 @@ static struct platform_driver em_i2c_driver = {module_platform_driver (em_i2c_driver);MODULE_DESCRIPTION ("EMEV2 I2C bus driver" ); -MODULE_AUTHOR ("Ian Molton and Wolfram Sang <[email protected]>" ); +MODULE_AUTHOR ("Ian Molton" ); +MODULE_AUTHOR ("Wolfram Sang <[email protected]>" );MODULE_LICENSE ("GPL v2" );MODULE_DEVICE_TABLE (of, em_i2c_ids);
drivers/i2c/busses/i2c-i801.c +2 -1
@@ -1986,7 +1986,8 @@ static void __exit i2c_i801_exit(void)pci_unregister_driver (&i801_driver); } -MODULE_AUTHOR ("Mark D. Studebaker <[email protected]>, Jean Delvare <[email protected]>" ); +MODULE_AUTHOR ("Mark D. Studebaker <[email protected]>" ); +MODULE_AUTHOR ("Jean Delvare <[email protected]>" );MODULE_DESCRIPTION ("I801 SMBus driver" );MODULE_LICENSE ("GPL" );
drivers/i2c/busses/i2c-piix4.c +2 -2
@@ -1032,7 +1032,7 @@ static struct pci_driver piix4_driver = {module_pci_driver (piix4_driver); -MODULE_AUTHOR ("Frodo Looijaard <[email protected]> and " -"Philip Edelbrock <[email protected]>" ); +MODULE_AUTHOR ("Frodo Looijaard <[email protected]>" ); +MODULE_AUTHOR ("Philip Edelbrock <[email protected]>" );MODULE_DESCRIPTION ("PIIX4 SMBus driver" );MODULE_LICENSE ("GPL" );
drivers/i2c/busses/i2c-pnx.c +2 -1
@@ -781,7 +781,8 @@ static void __exit i2c_adap_pnx_exit(void)platform_driver_unregister (&i2c_pnx_driver); } -MODULE_AUTHOR ("Vitaly Wool, Dennis Kovalev <[email protected]>" ); +MODULE_AUTHOR ("Vitaly Wool" ); +MODULE_AUTHOR ("Dennis Kovalev <[email protected]>" );MODULE_DESCRIPTION ("I2C driver for Philips IP3204-based I2C busses" );MODULE_LICENSE ("GPL" );MODULE_ALIAS ("platform:pnx-i2c" );
drivers/i2c/busses/i2c-sh_mobile.c +2 -1
@@ -932,6 +932,7 @@ static void __exit sh_mobile_i2c_adap_exit(void)module_exit (sh_mobile_i2c_adap_exit);MODULE_DESCRIPTION ("SuperH Mobile I2C Bus Controller driver" ); -MODULE_AUTHOR ("Magnus Damm and Wolfram Sang" ); +MODULE_AUTHOR ("Magnus Damm" ); +MODULE_AUTHOR ("Wolfram Sang" );MODULE_LICENSE ("GPL v2" );MODULE_ALIAS ("platform:i2c-sh_mobile" );
drivers/i2c/busses/i2c-sibyte.c +2 -1
@@ -180,6 +180,7 @@ static void __exit i2c_sibyte_exit(void)module_init (i2c_sibyte_init);module_exit (i2c_sibyte_exit); -MODULE_AUTHOR ("Kip Walker (Broadcom Corp.), Steven J. Hill <[email protected]>" ); +MODULE_AUTHOR ("Kip Walker (Broadcom Corp.)" ); +MODULE_AUTHOR ("Steven J. Hill <[email protected]>" );MODULE_DESCRIPTION ("SMBus adapter routines for SiByte boards" );MODULE_LICENSE ("GPL" );
drivers/i2c/i2c-dev.c +2 -2
@@ -761,8 +761,8 @@ static void __exit i2c_dev_exit(void)unregister_chrdev_region (MKDEV (I2C_MAJOR ,0 ),I2C_MINORS ); } -MODULE_AUTHOR ("Frodo Looijaard <[email protected]> and " -"Simon G. Vogl <[email protected]>" ); +MODULE_AUTHOR ("Frodo Looijaard <[email protected]>" ); +MODULE_AUTHOR ("Simon G. Vogl <[email protected]>" );MODULE_DESCRIPTION ("I2C /dev entries driver" );MODULE_LICENSE ("GPL" );
Signature · 1 line
2.26.2
Hi Jarrko,
Quoted 3 lines · Jarkko Nikula
Modules with multiple authors should use multiple
MODULE_AUTHOR()statements. Split the i2c modules with multiple authors to use multipleMODULE_AUTHOR()statements.
Out of curiosity, is this documented anywhere, and what is the rationale? FWIW, this change slightly increases the binary size of the modules.
Quoted 15 lines
Signed-off-by Jarkko Nikula <[email protected]>---
I decided to change all these modules in one patch. I can split if needed.--- drivers/i2c/algos/i2c-algo-pca.c | 4 ++-- drivers/i2c/busses/i2c-ali1535.c | 8 ++++---- drivers/i2c/busses/i2c-ali15x3.c | 6 +++--- drivers/i2c/busses/i2c-emev2.c | 3 ++- drivers/i2c/busses/i2c-i801.c | 3 ++- drivers/i2c/busses/i2c-piix4.c | 4 ++-- drivers/i2c/busses/i2c-pnx.c | 3 ++- drivers/i2c/busses/i2c-sh_mobile.c | 3 ++- drivers/i2c/busses/i2c-sibyte.c | 3 ++- drivers/i2c/i2c-dev.c | 4 ++-- 10 files changed, 23 insertions(+), 18 deletions(-)
Quoted 1 line
(...)
If that's the way we are going then the patch looks good.
However I see multi-author MODULE_AUTHOR() statements left in i2c-nomadik.c, i2c-sirf.c and i2c-viapro.c, any reason why these are not included in your patch?
Signature · 2 lines
Jean Delvare SUSE L3 Support
Hi
Quoted 11 lines · Jean Delvare
Hi Jarrko,
Quoted 3 lines · Jarkko Nikula
Modules with multiple authors should use multiple
MODULE_AUTHOR()statements. Split the i2c modules with multiple authors to use multipleMODULE_AUTHOR()statements.Out of curiosity, is this documented anywhere, and what is the rationale? FWIW, this change slightly increases the binary size of the modules.
I randomly spotted it in i2c-i801.c and started wonder since typically I've seen multiple MODULE_AUTHOR() lines. Only mention about it I quickly found was in include/linux/module.h:
/*
* Author(s), use "Name <email>" or just "Name", for multiple
* authors use multiple MODULE_AUTHOR() statements/lines. */
#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
Quoted 4 lines
However I see multi-author
MODULE_AUTHOR()statements left ini2c-nomadik.c,i2c-sirf.candi2c-viapro.c, any reason why these are not included in your patch?
My blind eye :-)
Will include these to 2nd version.
Jarkko
Quoted 18 lines · Jarkko Nikula
Hi
Quoted 11 lines · Jean Delvare
Hi Jarrko,
Quoted 3 lines · Jarkko Nikula
Modules with multiple authors should use multiple
MODULE_AUTHOR()statements. Split the i2c modules with multiple authors to use multipleMODULE_AUTHOR()statements.Out of curiosity, is this documented anywhere, and what is the rationale? FWIW, this change slightly increases the binary size of the modules.
I randomly spotted it in
i2c-i801.cand started wonder since typically I've seen multipleMODULE_AUTHOR()lines. Only mention about it I quickly found was ininclude/linux/module.h:
Quoted 5 lines
/*
* Author(s), use "Name <email>" or just "Name", for multiple
* authors use multipleMODULE_AUTHOR()statements/lines. */
#defineMODULE_AUTHOR(_author)MODULE_INFO(author, _author)
OK, that's authoritative enough for sure. Go ahead! :-)
Signature · 2 lines
Jean Delvare SUSE L3 Support