|
@@ -225,8 +225,8 @@ static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm)
|
|
|
|
|
|
static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm)
|
|
|
{
|
|
|
- pwm_set_chip_data(pwm, NULL);
|
|
|
devm_kfree(chip->dev, pwm_get_chip_data(pwm));
|
|
|
+ pwm_set_chip_data(pwm, NULL);
|
|
|
}
|
|
|
|
|
|
static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm)
|