diff options
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_ethdr.c')
| -rw-r--r-- | drivers/gpu/drm/mediatek/mtk_ethdr.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/drivers/gpu/drm/mediatek/mtk_ethdr.c b/drivers/gpu/drm/mediatek/mtk_ethdr.c index db7ac666ec5e..6a5d0c345aab 100644 --- a/drivers/gpu/drm/mediatek/mtk_ethdr.c +++ b/drivers/gpu/drm/mediatek/mtk_ethdr.c @@ -346,10 +346,9 @@ static int mtk_ethdr_probe(struct platform_device *pdev)  	return ret;  } -static int mtk_ethdr_remove(struct platform_device *pdev) +static void mtk_ethdr_remove(struct platform_device *pdev)  {  	component_del(&pdev->dev, &mtk_ethdr_component_ops); -	return 0;  }  static const struct of_device_id mtk_ethdr_driver_dt_match[] = { @@ -361,7 +360,7 @@ MODULE_DEVICE_TABLE(of, mtk_ethdr_driver_dt_match);  struct platform_driver mtk_ethdr_driver = {  	.probe		= mtk_ethdr_probe, -	.remove		= mtk_ethdr_remove, +	.remove_new	= mtk_ethdr_remove,  	.driver		= {  		.name	= "mediatek-disp-ethdr",  		.owner	= THIS_MODULE, | 
