mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
pwm: Use a consistent name for pwm_chip pointers in the core
Most variables of type struct pwm_chip * are named "chip", there are only three outliers called "pc". Change these three to "chip", too, for consistency. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
committed by
Thierry Reding
parent
06c2afb862
commit
b4f78ff746
@@ -298,7 +298,7 @@ struct pwm_chip {
|
||||
int base;
|
||||
unsigned int npwm;
|
||||
|
||||
struct pwm_device * (*of_xlate)(struct pwm_chip *pc,
|
||||
struct pwm_device * (*of_xlate)(struct pwm_chip *chip,
|
||||
const struct of_phandle_args *args);
|
||||
unsigned int of_pwm_n_cells;
|
||||
|
||||
@@ -395,9 +395,9 @@ struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip,
|
||||
unsigned int index,
|
||||
const char *label);
|
||||
|
||||
struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc,
|
||||
struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *chip,
|
||||
const struct of_phandle_args *args);
|
||||
struct pwm_device *of_pwm_single_xlate(struct pwm_chip *pc,
|
||||
struct pwm_device *of_pwm_single_xlate(struct pwm_chip *chip,
|
||||
const struct of_phandle_args *args);
|
||||
|
||||
struct pwm_device *pwm_get(struct device *dev, const char *con_id);
|
||||
|
||||
Reference in New Issue
Block a user