pwm: sunxi: Fix whitespace issue
authorOlliver Schinagl <oliver@schinagl.nl>
Mon, 26 Oct 2015 21:32:33 +0000 (22:32 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 10 Nov 2015 12:06:47 +0000 (13:06 +0100)
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 <oliver@schinagl.nl>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-sun4i.c

index b093cc5..67af9f6 100644 (file)
@@ -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;