|
@@ -529,9 +529,9 @@ struct pwm_device *pwm_get(struct device *dev, const char *con_id)
|
|
|
struct pwm_device *pwm = ERR_PTR(-EPROBE_DEFER);
|
|
struct pwm_device *pwm = ERR_PTR(-EPROBE_DEFER);
|
|
|
const char *dev_id = dev ? dev_name(dev): NULL;
|
|
const char *dev_id = dev ? dev_name(dev): NULL;
|
|
|
struct pwm_chip *chip = NULL;
|
|
struct pwm_chip *chip = NULL;
|
|
|
|
|
+ unsigned int index = 0;
|
|
|
unsigned int best = 0;
|
|
unsigned int best = 0;
|
|
|
struct pwm_lookup *p;
|
|
struct pwm_lookup *p;
|
|
|
- unsigned int index;
|
|
|
|
|
unsigned int match;
|
|
unsigned int match;
|
|
|
|
|
|
|
|
/* look up via DT first */
|
|
/* look up via DT first */
|