Skip to content

Commit 51352c0

Browse files
Uwe Kleine-Königthierryreding
authored andcommitted
pwm: bcm-kona: Consistently name pwm_chip variables "chip"
Most variables holding a pointer to a pwm_chip are called "chip" which is also the usual name in most other PWM drivers. Rename the single variable that have a different name to be called "chip", too, for consistency. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent aecab55 commit 51352c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pwm/pwm-bcm-kona.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ struct kona_pwmc {
6161
struct clk *clk;
6262
};
6363

64-
static inline struct kona_pwmc *to_kona_pwmc(struct pwm_chip *_chip)
64+
static inline struct kona_pwmc *to_kona_pwmc(struct pwm_chip *chip)
6565
{
66-
return container_of(_chip, struct kona_pwmc, chip);
66+
return container_of(chip, struct kona_pwmc, chip);
6767
}
6868

6969
/*

0 commit comments

Comments
 (0)