Skip to content

Commit

Permalink
squash! ODROID-COMMON: pwm: gpio: Add a generic gpio based PWM driver
Browse files Browse the repository at this point in the history
The fix is due to the commit "[8083f58] pwm: Make pwmchip_remove() return void"

Change-Id: I46a94fba84a39a28bccf328f1e1cac956c80f17c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
  • Loading branch information
tobetter committed Nov 3, 2021
1 parent 680fb4c commit 817779d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/pwm/pwm-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ static int gpio_pwm_remove(struct platform_device *pdev)
hrtimer_cancel(&gpio_data->timer);
}

return pwmchip_remove(&gpio_chip->chip);
pwmchip_remove(&gpio_chip->chip);

return 0;
}

static const struct of_device_id gpio_pwm_of_match[] = {
Expand Down

0 comments on commit 817779d

Please sign in to comment.