aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/drm/hdmi.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-09-24 07:22:17 -0400
committerThierry Reding <treding@nvidia.com>2013-10-31 04:20:05 -0400
commit386a2a71e2abde2d9fd529f8dc5f743102744100 (patch)
treedb5bc9637e8d65ee83773e1d79a08aa6c5511abc /drivers/gpu/host1x/drm/hdmi.c
parentd18d303378ad81fd73375c0148ac42e28bc0b2a4 (diff)
drm/tegra: Rename host1x_drm structure to tegra_drm
The host1x and Tegra DRM drivers are currently tightly coupled. Renaming the structure marks the boundary more clearly. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/drm/hdmi.c')
-rw-r--r--drivers/gpu/host1x/drm/hdmi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/host1x/drm/hdmi.c b/drivers/gpu/host1x/drm/hdmi.c
index 644d95c7d489..e7fb9d92cfcb 100644
--- a/drivers/gpu/host1x/drm/hdmi.c
+++ b/drivers/gpu/host1x/drm/hdmi.c
@@ -1181,7 +1181,7 @@ static const struct host1x_client_ops hdmi_client_ops = {
1181 1181
1182static int tegra_hdmi_probe(struct platform_device *pdev) 1182static int tegra_hdmi_probe(struct platform_device *pdev)
1183{ 1183{
1184 struct host1x_drm *host1x = host1x_get_drm_data(pdev->dev.parent); 1184 struct tegra_drm *tegra = host1x_get_drm_data(pdev->dev.parent);
1185 struct tegra_hdmi *hdmi; 1185 struct tegra_hdmi *hdmi;
1186 struct resource *regs; 1186 struct resource *regs;
1187 int err; 1187 int err;
@@ -1256,7 +1256,7 @@ static int tegra_hdmi_probe(struct platform_device *pdev)
1256 INIT_LIST_HEAD(&hdmi->client.list); 1256 INIT_LIST_HEAD(&hdmi->client.list);
1257 hdmi->client.dev = &pdev->dev; 1257 hdmi->client.dev = &pdev->dev;
1258 1258
1259 err = host1x_register_client(host1x, &hdmi->client); 1259 err = host1x_register_client(tegra, &hdmi->client);
1260 if (err < 0) { 1260 if (err < 0) {
1261 dev_err(&pdev->dev, "failed to register host1x client: %d\n", 1261 dev_err(&pdev->dev, "failed to register host1x client: %d\n",
1262 err); 1262 err);
@@ -1270,11 +1270,11 @@ static int tegra_hdmi_probe(struct platform_device *pdev)
1270 1270
1271static int tegra_hdmi_remove(struct platform_device *pdev) 1271static int tegra_hdmi_remove(struct platform_device *pdev)
1272{ 1272{
1273 struct host1x_drm *host1x = host1x_get_drm_data(pdev->dev.parent); 1273 struct tegra_drm *tegra = host1x_get_drm_data(pdev->dev.parent);
1274 struct tegra_hdmi *hdmi = platform_get_drvdata(pdev); 1274 struct tegra_hdmi *hdmi = platform_get_drvdata(pdev);
1275 int err; 1275 int err;
1276 1276
1277 err = host1x_unregister_client(host1x, &hdmi->client); 1277 err = host1x_unregister_client(tegra, &hdmi->client);
1278 if (err < 0) { 1278 if (err < 0) {
1279 dev_err(&pdev->dev, "failed to unregister host1x client: %d\n", 1279 dev_err(&pdev->dev, "failed to unregister host1x client: %d\n",
1280 err); 1280 err);