Skip to content

Commit 1425c40

Browse files
Uwe Kleine-Königthierryreding
authored andcommitted
pwm: lp3943: 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 5996cdf commit 1425c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pwm/pwm-lp3943.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ struct lp3943_pwm {
2424
struct lp3943_platform_data *pdata;
2525
};
2626

27-
static inline struct lp3943_pwm *to_lp3943_pwm(struct pwm_chip *_chip)
27+
static inline struct lp3943_pwm *to_lp3943_pwm(struct pwm_chip *chip)
2828
{
29-
return container_of(_chip, struct lp3943_pwm, chip);
29+
return container_of(chip, struct lp3943_pwm, chip);
3030
}
3131

3232
static struct lp3943_pwm_map *

0 commit comments

Comments
 (0)