diff options
Diffstat (limited to 'drivers/pwm/pwm-samsung.c')
-rw-r--r-- | drivers/pwm/pwm-samsung.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index 062f2cfc45ec..3762432dd6a7 100644 --- a/drivers/pwm/pwm-samsung.c +++ b/drivers/pwm/pwm-samsung.c | |||
@@ -238,7 +238,6 @@ static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm) | |||
238 | static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm) | 238 | static void pwm_samsung_free(struct pwm_chip *chip, struct pwm_device *pwm) |
239 | { | 239 | { |
240 | devm_kfree(chip->dev, pwm_get_chip_data(pwm)); | 240 | devm_kfree(chip->dev, pwm_get_chip_data(pwm)); |
241 | pwm_set_chip_data(pwm, NULL); | ||
242 | } | 241 | } |
243 | 242 | ||
244 | static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm) | 243 | static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm) |