[media] s5p-tv: Add missing braces around sizeof in sdo_drv.c
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 04:49:00 +0000 (01:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:35:55 +0000 (09:35 -0200)
commit80f0dee21c7ec39f76f90548c9f08a0e7ec9b3fa
tree179b4826cb33dad307f9abdbec7d8012a78291d9
parentaeae3db1c267759661609c76d6c7791231ae438a
[media] s5p-tv: Add missing braces around sizeof in sdo_drv.c

Silences the following checkpatch warnings:
WARNING: sizeof *sdev should be sizeof(*sdev)
FILE: media/platform/s5p-tv/sdo_drv.c:304:
sdev = devm_kzalloc(&pdev->dev, sizeof *sdev, GFP_KERNEL);
WARNING: sizeof sdev->sd.name should be sizeof(sdev->sd.name)
FILE: media/platform/s5p-tv/sdo_drv.c:394:
strlcpy(sdev->sd.name, "s5p-sdo", sizeof sdev->sd.name);

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/sdo_drv.c