Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b9e450d authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

backlight: remove use of __devinit



CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d1723fa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ static const struct attribute_group adp5520_bl_attr_group = {
	.attrs = adp5520_bl_attributes,
};

static int __devinit adp5520_bl_probe(struct platform_device *pdev)
static int adp5520_bl_probe(struct platform_device *pdev)
{
	struct backlight_properties props;
	struct backlight_device *bl;
+3 −3
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static int adp8860_led_setup(struct adp8860_led *led)
	return ret;
}

static int __devinit adp8860_led_probe(struct i2c_client *client)
static int adp8860_led_probe(struct i2c_client *client)
{
	struct adp8860_backlight_platform_data *pdata =
		client->dev.platform_data;
@@ -310,7 +310,7 @@ static int __devexit adp8860_led_remove(struct i2c_client *client)
	return 0;
}
#else
static int __devinit adp8860_led_probe(struct i2c_client *client)
static int adp8860_led_probe(struct i2c_client *client)
{
	return 0;
}
@@ -650,7 +650,7 @@ static const struct attribute_group adp8860_bl_attr_group = {
	.attrs = adp8860_bl_attributes,
};

static int __devinit adp8860_probe(struct i2c_client *client,
static int adp8860_probe(struct i2c_client *client,
					const struct i2c_device_id *id)
{
	struct backlight_device *bl;
+3 −3
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ static int adp8870_led_setup(struct adp8870_led *led)
	return ret;
}

static int __devinit adp8870_led_probe(struct i2c_client *client)
static int adp8870_led_probe(struct i2c_client *client)
{
	struct adp8870_backlight_platform_data *pdata =
		client->dev.platform_data;
@@ -335,7 +335,7 @@ static int __devexit adp8870_led_remove(struct i2c_client *client)
	return 0;
}
#else
static int __devinit adp8870_led_probe(struct i2c_client *client)
static int adp8870_led_probe(struct i2c_client *client)
{
	return 0;
}
@@ -839,7 +839,7 @@ static const struct attribute_group adp8870_bl_attr_group = {
	.attrs = adp8870_bl_attributes,
};

static int __devinit adp8870_probe(struct i2c_client *client,
static int adp8870_probe(struct i2c_client *client,
					const struct i2c_device_id *id)
{
	struct backlight_properties props;
+1 −1
Original line number Diff line number Diff line
@@ -474,7 +474,7 @@ static const struct backlight_ops ams369fg06_backlight_ops = {
	.update_status = ams369fg06_set_brightness,
};

static int __devinit ams369fg06_probe(struct spi_device *spi)
static int ams369fg06_probe(struct spi_device *spi)
{
	int ret = 0;
	struct ams369fg06 *lcd = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ static const struct hw_data nvidia_chipset_data = {
	.set_brightness = nvidia_chipset_set_brightness,
};

static int __devinit apple_bl_add(struct acpi_device *dev)
static int apple_bl_add(struct acpi_device *dev)
{
	struct backlight_properties props;
	struct pci_dev *host;
Loading