Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322847
b: refs/heads/master
c: adc837a
h: refs/heads/master
i:
  322845: 2d29a6d
  322843: b8bf91b
  322839: 9b6c6a8
  322831: 2e16fe5
  322815: 377639e
v: v3
  • Loading branch information
Sachin Kamat authored and Inki Dae committed Sep 13, 2012
1 parent 7c07684 commit f84cb64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e1355e7d9c0dac39b9bc4e146a49d379f43ba42
refs/heads/master: adc837ac3c6eb76d734e471512eaeba210fa5e98
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/exynos/exynos_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ static int __devinit hdmi_resources_init(struct hdmi_context *hdata)

DRM_DEBUG_KMS("HDMI resource init\n");

memset(res, 0, sizeof *res);
memset(res, 0, sizeof(*res));

/* get clocks, power */
res->hdmi = clk_get(dev, "hdmi");
Expand Down Expand Up @@ -2204,7 +2204,7 @@ static int __devinit hdmi_resources_init(struct hdmi_context *hdata)
clk_set_parent(res->sclk_hdmi, res->sclk_pixel);

res->regul_bulk = kzalloc(ARRAY_SIZE(supply) *
sizeof res->regul_bulk[0], GFP_KERNEL);
sizeof(res->regul_bulk[0]), GFP_KERNEL);
if (!res->regul_bulk) {
DRM_ERROR("failed to get memory for regulators\n");
goto fail;
Expand Down Expand Up @@ -2243,7 +2243,7 @@ static int hdmi_resources_cleanup(struct hdmi_context *hdata)
clk_put(res->sclk_hdmi);
if (!IS_ERR_OR_NULL(res->hdmi))
clk_put(res->hdmi);
memset(res, 0, sizeof *res);
memset(res, 0, sizeof(*res));

return 0;
}
Expand Down

0 comments on commit f84cb64

Please sign in to comment.