[media] s5p-tv: Add missing braces around sizeof in mixer_drv.c
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 04:49:03 +0000 (01:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:36:49 +0000 (09:36 -0200)
commitdc03398528c83357e1e95481cd447f6bf1036b76
tree72833a7cac5d3bf38d64c3667eb21caf8bcc8d2d
parentad84291c6af11e07d8c55eb4ea4d64ade054e2a5
[media] s5p-tv: Add missing braces around sizeof in mixer_drv.c

Silences checkpatch warnings of type:
WARNING: sizeof mdev->res should be sizeof(mdev->res)
FILE: media/platform/s5p-tv/mixer_drv.c:301:
memset(&mdev->res, 0, sizeof mdev->res);
WARNING: sizeof *mdev should be sizeof(*mdev)
FILE: media/platform/s5p-tv/mixer_drv.c:385:
mdev = kzalloc(sizeof *mdev, GFP_KERNEL);

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-tv/mixer_drv.c