aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-tv
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/s5p-tv')
-rw-r--r--drivers/media/video/s5p-tv/hdmi_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-tv/hdmi_drv.c b/drivers/media/video/s5p-tv/hdmi_drv.c
index 0279e6e89feb..8199288481f3 100644
--- a/drivers/media/video/s5p-tv/hdmi_drv.c
+++ b/drivers/media/video/s5p-tv/hdmi_drv.c
@@ -838,8 +838,8 @@ static int hdmi_resources_init(struct hdmi_device *hdev)
838 dev_err(dev, "failed to get clock 'hdmiphy'\n"); 838 dev_err(dev, "failed to get clock 'hdmiphy'\n");
839 goto fail; 839 goto fail;
840 } 840 }
841 res->regul_bulk = kzalloc(ARRAY_SIZE(supply) * 841 res->regul_bulk = kcalloc(ARRAY_SIZE(supply),
842 sizeof res->regul_bulk[0], GFP_KERNEL); 842 sizeof(res->regul_bulk[0]), GFP_KERNEL);
843 if (!res->regul_bulk) { 843 if (!res->regul_bulk) {
844 dev_err(dev, "failed to get memory for regulators\n"); 844 dev_err(dev, "failed to get memory for regulators\n");
845 goto fail; 845 goto fail;