mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	backlight: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									1b9e450de1
								
							
						
					
					
						commit
						7e4b9d0bb2
					
				
					 22 changed files with 26 additions and 26 deletions
				
			
		|  | @ -333,7 +333,7 @@ static int adp5520_bl_probe(struct platform_device *pdev) | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp5520_bl_remove(struct platform_device *pdev) | ||||
| static int adp5520_bl_remove(struct platform_device *pdev) | ||||
| { | ||||
| 	struct backlight_device *bl = platform_get_drvdata(pdev); | ||||
| 	struct adp5520_bl *data = bl_get_data(bl); | ||||
|  |  | |||
|  | @ -295,7 +295,7 @@ static int adp8860_led_probe(struct i2c_client *client) | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp8860_led_remove(struct i2c_client *client) | ||||
| static int adp8860_led_remove(struct i2c_client *client) | ||||
| { | ||||
| 	struct adp8860_backlight_platform_data *pdata = | ||||
| 		client->dev.platform_data; | ||||
|  | @ -315,7 +315,7 @@ static int adp8860_led_probe(struct i2c_client *client) | |||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp8860_led_remove(struct i2c_client *client) | ||||
| static int adp8860_led_remove(struct i2c_client *client) | ||||
| { | ||||
| 	return 0; | ||||
| } | ||||
|  | @ -755,7 +755,7 @@ out1: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp8860_remove(struct i2c_client *client) | ||||
| static int adp8860_remove(struct i2c_client *client) | ||||
| { | ||||
| 	struct adp8860_bl *data = i2c_get_clientdata(client); | ||||
| 
 | ||||
|  |  | |||
|  | @ -320,7 +320,7 @@ static int adp8870_led_probe(struct i2c_client *client) | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp8870_led_remove(struct i2c_client *client) | ||||
| static int adp8870_led_remove(struct i2c_client *client) | ||||
| { | ||||
| 	struct adp8870_backlight_platform_data *pdata = | ||||
| 		client->dev.platform_data; | ||||
|  | @ -340,7 +340,7 @@ static int adp8870_led_probe(struct i2c_client *client) | |||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp8870_led_remove(struct i2c_client *client) | ||||
| static int adp8870_led_remove(struct i2c_client *client) | ||||
| { | ||||
| 	return 0; | ||||
| } | ||||
|  | @ -929,7 +929,7 @@ out1: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit adp8870_remove(struct i2c_client *client) | ||||
| static int adp8870_remove(struct i2c_client *client) | ||||
| { | ||||
| 	struct adp8870_bl *data = i2c_get_clientdata(client); | ||||
| 
 | ||||
|  |  | |||
|  | @ -548,7 +548,7 @@ out_lcd_unregister: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit ams369fg06_remove(struct spi_device *spi) | ||||
| static int ams369fg06_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -196,7 +196,7 @@ static int apple_bl_add(struct acpi_device *dev) | |||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static int __devexit apple_bl_remove(struct acpi_device *dev, int type) | ||||
| static int apple_bl_remove(struct acpi_device *dev, int type) | ||||
| { | ||||
| 	backlight_device_unregister(apple_backlight_device); | ||||
| 
 | ||||
|  |  | |||
|  | @ -590,7 +590,7 @@ err_unregister_lcd: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit corgi_lcd_remove(struct spi_device *spi) | ||||
| static int corgi_lcd_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -230,7 +230,7 @@ err1: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit l4f00242t03_remove(struct spi_device *spi) | ||||
| static int l4f00242t03_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct l4f00242t03_priv *priv = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -788,7 +788,7 @@ out_free_regulator: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit ld9040_remove(struct spi_device *spi) | ||||
| static int ld9040_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct ld9040 *lcd = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -351,7 +351,7 @@ err_unregister: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit lm3533_bl_remove(struct platform_device *pdev) | ||||
| static int lm3533_bl_remove(struct platform_device *pdev) | ||||
| { | ||||
| 	struct lm3533_bl *bl = platform_get_drvdata(pdev); | ||||
| 	struct backlight_device *bd = bl->bd; | ||||
|  |  | |||
|  | @ -429,7 +429,7 @@ err_chip_init: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit lm3630_remove(struct i2c_client *client) | ||||
| static int lm3630_remove(struct i2c_client *client) | ||||
| { | ||||
| 	int ret; | ||||
| 	struct lm3630_chip_data *pchip = i2c_get_clientdata(client); | ||||
|  |  | |||
|  | @ -397,7 +397,7 @@ err_out: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit lm3639_remove(struct i2c_client *client) | ||||
| static int lm3639_remove(struct i2c_client *client) | ||||
| { | ||||
| 	struct lm3639_chip_data *pchip = i2c_get_clientdata(client); | ||||
| 
 | ||||
|  |  | |||
|  | @ -193,7 +193,7 @@ static int lms283gf05_probe(struct spi_device *spi) | |||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static int __devexit lms283gf05_remove(struct spi_device *spi) | ||||
| static int lms283gf05_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct lms283gf05_state *st = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -297,7 +297,7 @@ err_dev: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit lp855x_remove(struct i2c_client *cl) | ||||
| static int lp855x_remove(struct i2c_client *cl) | ||||
| { | ||||
| 	struct lp855x *lp = i2c_get_clientdata(cl); | ||||
| 
 | ||||
|  |  | |||
|  | @ -261,7 +261,7 @@ out_unregister: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit ltv350qv_remove(struct spi_device *spi) | ||||
| static int ltv350qv_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct ltv350qv *lcd = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -171,7 +171,7 @@ out: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit max8925_backlight_remove(struct platform_device *pdev) | ||||
| static int max8925_backlight_remove(struct platform_device *pdev) | ||||
| { | ||||
| 	struct backlight_device *bl = platform_get_drvdata(pdev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -145,7 +145,7 @@ static int pcf50633_bl_probe(struct platform_device *pdev) | |||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static int __devexit pcf50633_bl_remove(struct platform_device *pdev) | ||||
| static int pcf50633_bl_remove(struct platform_device *pdev) | ||||
| { | ||||
| 	struct pcf50633_bl *pcf_bl = platform_get_drvdata(pdev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -112,7 +112,7 @@ static int platform_lcd_probe(struct platform_device *pdev) | |||
| 	return err; | ||||
| } | ||||
| 
 | ||||
| static int __devexit platform_lcd_remove(struct platform_device *pdev) | ||||
| static int platform_lcd_remove(struct platform_device *pdev) | ||||
| { | ||||
| 	struct platform_lcd *plcd = platform_get_drvdata(pdev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -825,7 +825,7 @@ out_lcd_unregister: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit s6e63m0_remove(struct spi_device *spi) | ||||
| static int s6e63m0_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct s6e63m0 *lcd = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -401,7 +401,7 @@ out_unregister: | |||
| 	return err; | ||||
| } | ||||
| 
 | ||||
| static int __devexit tdo24m_remove(struct spi_device *spi) | ||||
| static int tdo24m_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct tdo24m *lcd = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -126,7 +126,7 @@ err_reg: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit tosa_bl_remove(struct i2c_client *client) | ||||
| static int tosa_bl_remove(struct i2c_client *client) | ||||
| { | ||||
| 	struct tosa_bl_data *data = i2c_get_clientdata(client); | ||||
| 
 | ||||
|  |  | |||
|  | @ -226,7 +226,7 @@ err_gpio_tg: | |||
| 	return ret; | ||||
| } | ||||
| 
 | ||||
| static int __devexit tosa_lcd_remove(struct spi_device *spi) | ||||
| static int tosa_lcd_remove(struct spi_device *spi) | ||||
| { | ||||
| 	struct tosa_lcd_data *data = dev_get_drvdata(&spi->dev); | ||||
| 
 | ||||
|  |  | |||
|  | @ -240,7 +240,7 @@ static int vgg2432a4_probe(struct spi_device *spi) | |||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static int __devexit vgg2432a4_remove(struct spi_device *spi) | ||||
| static int vgg2432a4_remove(struct spi_device *spi) | ||||
| { | ||||
| 	return ili9320_remove(dev_get_drvdata(&spi->dev)); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bill Pemberton
						Bill Pemberton