UPSTREAM: pwm: Add missing newline
authorThierry Reding <thierry.reding@gmail.com>
Mon, 2 May 2016 10:05:55 +0000 (12:05 +0200)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
checkpatch requires that declarations be separated from code by a blank
line. Add one for readability and to silence the warning.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
(cherry picked from commit 83a98864ff62b23dfa93baeaaf340741e263c02b)

Change-Id: I1e59599b099fe6b4d29e0f39225f8e18ce7c139e
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/pwm/core.c

index cac3a05277c930a23bb709467cc16fdef75d212c..5c961c640823aba3a2aff9dfb88a8f720246a937 100644 (file)
@@ -75,6 +75,7 @@ static void free_pwms(struct pwm_chip *chip)
 
        for (i = 0; i < chip->npwm; i++) {
                struct pwm_device *pwm = &chip->pwms[i];
 
        for (i = 0; i < chip->npwm; i++) {
                struct pwm_device *pwm = &chip->pwms[i];
+
                radix_tree_delete(&pwm_tree, pwm->pwm);
        }
 
                radix_tree_delete(&pwm_tree, pwm->pwm);
        }