dma: Remove erroneous __exit and __exit_p() references
Removing the annotation with __exit and referencing with __exit_p() present in dma driver module remove hooks. Part of the __devexit and __devexit_p() purge. Signed-off-by: Maxin B. John <maxin.john@enea.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:

committed by
Vinod Koul

parent
234846d4c8
commit
1d1bbd305a
@@ -1462,7 +1462,7 @@ err_irq:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __exit sdma_remove(struct platform_device *pdev)
|
||||
static int sdma_remove(struct platform_device *pdev)
|
||||
{
|
||||
return -EBUSY;
|
||||
}
|
||||
@@ -1473,7 +1473,7 @@ static struct platform_driver sdma_driver = {
|
||||
.of_match_table = sdma_dt_ids,
|
||||
},
|
||||
.id_table = sdma_devtypes,
|
||||
.remove = __exit_p(sdma_remove),
|
||||
.remove = sdma_remove,
|
||||
};
|
||||
|
||||
static int __init sdma_module_init(void)
|
||||
|
Reference in New Issue
Block a user