From: Stephen Rothwell Date: Mon, 19 Dec 2011 06:15:02 +0000 (+1100) Subject: Merge remote-tracking branch 'staging/staging-next' X-Git-Tag: next-20111219~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3b7b3d94dfcb3aa3ed9da57583d225d52685af75;p=karo-tx-linux.git Merge remote-tracking branch 'staging/staging-next' Conflicts: drivers/hid/hid-hyperv.c drivers/staging/hv/Kconfig drivers/staging/hv/Makefile drivers/staging/iio/adc/ad799x_core.c --- 3b7b3d94dfcb3aa3ed9da57583d225d52685af75 diff --cc drivers/staging/iio/adc/ad799x_core.c index c0d2f886ea2c,815e6b9a8d4b..d5b581d8bc2b --- a/drivers/staging/iio/adc/ad799x_core.c +++ b/drivers/staging/iio/adc/ad799x_core.c @@@ -934,4 -943,6 +934,3 @@@ module_i2c_driver(ad799x_driver) MODULE_AUTHOR("Michael Hennerich "); MODULE_DESCRIPTION("Analog Devices AD799x ADC"); MODULE_LICENSE("GPL v2"); - MODULE_ALIAS("i2c:ad799x"); - -module_init(ad799x_init); -module_exit(ad799x_exit); diff --cc drivers/staging/iio/dac/ad5791.c index 4a80fd822231,e919025f138a..ac45636a8d72 --- a/drivers/staging/iio/dac/ad5791.c +++ b/drivers/staging/iio/dac/ad5791.c @@@ -410,8 -413,19 +413,8 @@@ static struct spi_driver ad5791_driver .remove = __devexit_p(ad5791_remove), .id_table = ad5791_id, }; - -static __init int ad5791_spi_init(void) -{ - return spi_register_driver(&ad5791_driver); -} -module_init(ad5791_spi_init); - -static __exit void ad5791_spi_exit(void) -{ - spi_unregister_driver(&ad5791_driver); -} -module_exit(ad5791_spi_exit); +module_spi_driver(ad5791_driver); MODULE_AUTHOR("Michael Hennerich "); - MODULE_DESCRIPTION("Analog Devices AD5760/AD5780/AD5781/AD5791 DAC"); + MODULE_DESCRIPTION("Analog Devices AD5760/AD5780/AD5781/AD5790/AD5791 DAC"); MODULE_LICENSE("GPL v2"); diff --cc drivers/staging/iio/gyro/adxrs450_core.c index 70fd468b6850,61690e26f22d..15e2496f70c8 --- a/drivers/staging/iio/gyro/adxrs450_core.c +++ b/drivers/staging/iio/gyro/adxrs450_core.c @@@ -380,9 -427,21 +427,10 @@@ static struct spi_driver adxrs450_drive }, .probe = adxrs450_probe, .remove = __devexit_p(adxrs450_remove), + .id_table = adxrs450_id, }; - -static __init int adxrs450_init(void) -{ - return spi_register_driver(&adxrs450_driver); -} -module_init(adxrs450_init); - -static __exit void adxrs450_exit(void) -{ - spi_unregister_driver(&adxrs450_driver); -} -module_exit(adxrs450_exit); +module_spi_driver(adxrs450_driver); MODULE_AUTHOR("Cliff Cai "); - MODULE_DESCRIPTION("Analog Devices ADXRS450 Gyroscope SPI driver"); + MODULE_DESCRIPTION("Analog Devices ADXRS450/ADXRS453 Gyroscope SPI driver"); MODULE_LICENSE("GPL v2");