mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
drm/bridge: analogix_dp: remove unused analogix_dp_remove
Now that the clock is handled dynamically through analogix_dp_resume/suspend and it isn't statically enabled in the driver probe routine, there is no need for the remove function anymore. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Robert Foss <rfoss@kernel.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240619182200.3752465-5-l.stach@pengutronix.de
This commit is contained in:
parent
f37952339c
commit
e7514df007
@ -1805,11 +1805,6 @@ void analogix_dp_unbind(struct analogix_dp_device *dp)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(analogix_dp_unbind);
|
||||
|
||||
void analogix_dp_remove(struct analogix_dp_device *dp)
|
||||
{
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(analogix_dp_remove);
|
||||
|
||||
int analogix_dp_start_crc(struct drm_connector *connector)
|
||||
{
|
||||
struct analogix_dp_device *dp = to_dp(connector);
|
||||
|
@ -251,10 +251,7 @@ out:
|
||||
|
||||
static void exynos_dp_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct exynos_dp_device *dp = platform_get_drvdata(pdev);
|
||||
|
||||
component_del(&pdev->dev, &exynos_dp_ops);
|
||||
analogix_dp_remove(dp->adp);
|
||||
}
|
||||
|
||||
static int exynos_dp_suspend(struct device *dev)
|
||||
|
@ -414,21 +414,14 @@ static int rockchip_dp_probe(struct platform_device *pdev)
|
||||
|
||||
ret = component_add(dev, &rockchip_dp_component_ops);
|
||||
if (ret)
|
||||
goto err_dp_remove;
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
|
||||
err_dp_remove:
|
||||
analogix_dp_remove(dp->adp);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void rockchip_dp_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct rockchip_dp_device *dp = platform_get_drvdata(pdev);
|
||||
|
||||
component_del(&pdev->dev, &rockchip_dp_component_ops);
|
||||
analogix_dp_remove(dp->adp);
|
||||
}
|
||||
|
||||
static int rockchip_dp_suspend(struct device *dev)
|
||||
|
@ -44,7 +44,6 @@ struct analogix_dp_device *
|
||||
analogix_dp_probe(struct device *dev, struct analogix_dp_plat_data *plat_data);
|
||||
int analogix_dp_bind(struct analogix_dp_device *dp, struct drm_device *drm_dev);
|
||||
void analogix_dp_unbind(struct analogix_dp_device *dp);
|
||||
void analogix_dp_remove(struct analogix_dp_device *dp);
|
||||
|
||||
int analogix_dp_start_crc(struct drm_connector *connector);
|
||||
int analogix_dp_stop_crc(struct drm_connector *connector);
|
||||
|
Loading…
Reference in New Issue
Block a user