Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292135
b: refs/heads/master
c: 91efffe
h: refs/heads/master
i:
  292133: 5ceaacf
  292131: bf69b69
  292127: 7c5c510
v: v3
  • Loading branch information
Axel Lin authored and Guenter Roeck committed Mar 19, 2012
1 parent 23562e6 commit 8ca7741
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 59 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0967eea80ec2a19a4fe1ad27e3ff1b22c79a3c7
refs/heads/master: 91efffe26a809bc6660b91e21264f48e501bfb46
12 changes: 1 addition & 11 deletions trunk/drivers/hwmon/ad7314.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,7 @@ static struct spi_driver ad7314_driver = {
.id_table = ad7314_id,
};

static __init int ad7314_init(void)
{
return spi_register_driver(&ad7314_driver);
}
module_init(ad7314_init);

static __exit void ad7314_exit(void)
{
spi_unregister_driver(&ad7314_driver);
}
module_exit(ad7314_exit);
module_spi_driver(ad7314_driver);

MODULE_AUTHOR("Sonic Zhang <sonic.zhang@analog.com>");
MODULE_DESCRIPTION("Analog Devices AD7314, ADT7301 and ADT7302 digital"
Expand Down
13 changes: 1 addition & 12 deletions trunk/drivers/hwmon/adcxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,18 +248,7 @@ static struct spi_driver adcxx_driver = {
.remove = __devexit_p(adcxx_remove),
};

static int __init init_adcxx(void)
{
return spi_register_driver(&adcxx_driver);
}

static void __exit exit_adcxx(void)
{
spi_unregister_driver(&adcxx_driver);
}

module_init(init_adcxx);
module_exit(exit_adcxx);
module_spi_driver(adcxx_driver);

MODULE_AUTHOR("Marc Pignat");
MODULE_DESCRIPTION("National Semiconductor adcxx8sxxx Linux driver");
Expand Down
13 changes: 1 addition & 12 deletions trunk/drivers/hwmon/ads7871.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,18 +234,7 @@ static struct spi_driver ads7871_driver = {
.remove = __devexit_p(ads7871_remove),
};

static int __init ads7871_init(void)
{
return spi_register_driver(&ads7871_driver);
}

static void __exit ads7871_exit(void)
{
spi_unregister_driver(&ads7871_driver);
}

module_init(ads7871_init);
module_exit(ads7871_exit);
module_spi_driver(ads7871_driver);

MODULE_AUTHOR("Paul Thomas <pthomas8589@gmail.com>");
MODULE_DESCRIPTION("TI ADS7871 A/D driver");
Expand Down
13 changes: 1 addition & 12 deletions trunk/drivers/hwmon/lm70.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,18 +213,7 @@ static struct spi_driver lm70_driver = {
.remove = __devexit_p(lm70_remove),
};

static int __init init_lm70(void)
{
return spi_register_driver(&lm70_driver);
}

static void __exit cleanup_lm70(void)
{
spi_unregister_driver(&lm70_driver);
}

module_init(init_lm70);
module_exit(cleanup_lm70);
module_spi_driver(lm70_driver);

MODULE_AUTHOR("Kaiwan N Billimoria");
MODULE_DESCRIPTION("NS LM70 / TI TMP121/TMP123 Linux driver");
Expand Down
12 changes: 1 addition & 11 deletions trunk/drivers/hwmon/max1111.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,17 +227,7 @@ static struct spi_driver max1111_driver = {
.remove = __devexit_p(max1111_remove),
};

static int __init max1111_init(void)
{
return spi_register_driver(&max1111_driver);
}
module_init(max1111_init);

static void __exit max1111_exit(void)
{
spi_unregister_driver(&max1111_driver);
}
module_exit(max1111_exit);
module_spi_driver(max1111_driver);

MODULE_AUTHOR("Eric Miao <eric.miao@marvell.com>");
MODULE_DESCRIPTION("MAX1111 ADC Driver");
Expand Down

0 comments on commit 8ca7741

Please sign in to comment.