From: Olliver Schinagl Date: Mon, 26 Oct 2015 21:32:33 +0000 (+0100) Subject: pwm: sunxi: Fix whitespace issue X-Git-Tag: firefly_0821_release~176^2~714^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5dcd7b42f1d06c62b5589441e69cc77c26c8b725;p=firefly-linux-kernel-4.4.55.git pwm: sunxi: Fix whitespace issue This patch changes no code, it just fixes the whitespacing. Operators should be separated from operands by a single space. Signed-off-by: Olliver Schinagl Signed-off-by: Thierry Reding --- diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c index b093cc55f799..67af9f62361f 100644 --- a/drivers/pwm/pwm-sun4i.c +++ b/drivers/pwm/pwm-sun4i.c @@ -115,7 +115,7 @@ static int sun4i_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, * is not an integer so round it half up instead of * truncating to get less surprising values. */ - div = clk_rate * period_ns + NSEC_PER_SEC/2; + div = clk_rate * period_ns + NSEC_PER_SEC / 2; do_div(div, NSEC_PER_SEC); if (div - 1 > PWM_PRD_MASK) prescaler = 0;