mirror of https://gitee.com/openkylin/linux.git
staging: drm/imx: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
417696cfbb
commit
99c28f1091
|
@ -824,7 +824,7 @@ static int imx_drm_platform_remove(struct platform_device *pdev)
|
|||
|
||||
static struct platform_driver imx_drm_pdrv = {
|
||||
.probe = imx_drm_platform_probe,
|
||||
.remove = __devexit_p(imx_drm_platform_remove),
|
||||
.remove = imx_drm_platform_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "imx-drm",
|
||||
|
|
|
@ -1158,7 +1158,7 @@ static struct platform_driver imx_ipu_driver = {
|
|||
.of_match_table = imx_ipu_dt_ids,
|
||||
},
|
||||
.probe = ipu_probe,
|
||||
.remove = __devexit_p(ipu_remove),
|
||||
.remove = ipu_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(imx_ipu_driver);
|
||||
|
|
|
@ -570,7 +570,7 @@ static struct platform_driver ipu_drm_driver = {
|
|||
.name = "imx-ipuv3-crtc",
|
||||
},
|
||||
.probe = ipu_drm_probe,
|
||||
.remove = __devexit_p(ipu_drm_remove),
|
||||
.remove = ipu_drm_remove,
|
||||
};
|
||||
module_platform_driver(ipu_drm_driver);
|
||||
|
||||
|
|
|
@ -256,7 +256,7 @@ static const struct of_device_id imx_pd_dt_ids[] = {
|
|||
|
||||
static struct platform_driver imx_pd_driver = {
|
||||
.probe = imx_pd_probe,
|
||||
.remove = __devexit_p(imx_pd_remove),
|
||||
.remove = imx_pd_remove,
|
||||
.driver = {
|
||||
.of_match_table = imx_pd_dt_ids,
|
||||
.name = "imx-parallel-display",
|
||||
|
|
Loading…
Reference in New Issue