video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk

Divider value can be zero and it makes division by zero
from debug message in s3c_fb_calc_pixclk; therefore, it
should be fixed.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>

authored by Jingoo Han and committed by Florian Tobias Schandinat b6798951 ecd57ae2

Changed files
+1 -1
drivers
video
+1 -1
drivers/video/s3c-fb.c
··· 361 361 result = (unsigned int)tmp / 1000; 362 362 363 363 dev_dbg(sfb->dev, "pixclk=%u, clk=%lu, div=%d (%lu)\n", 364 - pixclk, clk, result, clk / result); 364 + pixclk, clk, result, result ? clk / result : clk); 365 365 366 366 return result; 367 367 }