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

Commit 735fe4cf authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Add missing __devexit and __devinit annotations

parent 03e7a35c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -471,7 +471,7 @@ init_err:
}
}


#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
static int da7210_i2c_probe(struct i2c_client *i2c,
static int __devinit da7210_i2c_probe(struct i2c_client *i2c,
			   	      const struct i2c_device_id *id)
			   	      const struct i2c_device_id *id)
{
{
	struct da7210_priv *da7210;
	struct da7210_priv *da7210;
@@ -495,7 +495,7 @@ static int da7210_i2c_probe(struct i2c_client *i2c,
	return ret;
	return ret;
}
}


static int da7210_i2c_remove(struct i2c_client *client)
static int __devexit da7210_i2c_remove(struct i2c_client *client)
{
{
	struct da7210_priv *da7210 = i2c_get_clientdata(client);
	struct da7210_priv *da7210 = i2c_get_clientdata(client);


+3 −3
Original line number Original line Diff line number Diff line
@@ -1191,7 +1191,7 @@ struct snd_soc_dai dac33_dai = {
};
};
EXPORT_SYMBOL_GPL(dac33_dai);
EXPORT_SYMBOL_GPL(dac33_dai);


static int dac33_i2c_probe(struct i2c_client *client,
static int __devinit dac33_i2c_probe(struct i2c_client *client,
				     const struct i2c_device_id *id)
				     const struct i2c_device_id *id)
{
{
	struct tlv320dac33_platform_data *pdata;
	struct tlv320dac33_platform_data *pdata;
@@ -1345,7 +1345,7 @@ error_reg:
	return ret;
	return ret;
}
}


static int dac33_i2c_remove(struct i2c_client *client)
static int __devexit dac33_i2c_remove(struct i2c_client *client)
{
{
	struct tlv320dac33_priv *dac33;
	struct tlv320dac33_priv *dac33;


+3 −3
Original line number Original line Diff line number Diff line
@@ -379,7 +379,7 @@ int tpa6130a2_add_controls(struct snd_soc_codec *codec)
}
}
EXPORT_SYMBOL_GPL(tpa6130a2_add_controls);
EXPORT_SYMBOL_GPL(tpa6130a2_add_controls);


static int tpa6130a2_probe(struct i2c_client *client,
static int __devinit tpa6130a2_probe(struct i2c_client *client,
				     const struct i2c_device_id *id)
				     const struct i2c_device_id *id)
{
{
	struct device *dev;
	struct device *dev;
@@ -479,7 +479,7 @@ err_gpio:
	return ret;
	return ret;
}
}


static int tpa6130a2_remove(struct i2c_client *client)
static int __devexit tpa6130a2_remove(struct i2c_client *client)
{
{
	struct tpa6130a2_data *data = i2c_get_clientdata(client);
	struct tpa6130a2_data *data = i2c_get_clientdata(client);