ASoC: fsl: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
此提交包含在:
@@ -326,7 +326,7 @@ error_put:
|
||||
*
|
||||
* This function is called when the platform device is removed.
|
||||
*/
|
||||
static int __devexit p1022_rdk_remove(struct platform_device *pdev)
|
||||
static int p1022_rdk_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_soc_card *card = platform_get_drvdata(pdev);
|
||||
struct machine_data *mdata =
|
||||
@@ -340,7 +340,7 @@ static int __devexit p1022_rdk_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver p1022_rdk_driver = {
|
||||
.probe = p1022_rdk_probe,
|
||||
.remove = __devexit_p(p1022_rdk_remove),
|
||||
.remove = p1022_rdk_remove,
|
||||
.driver = {
|
||||
/*
|
||||
* The name must match 'compatible' property in the device tree,
|
||||
|
新增問題並參考
封鎖使用者