diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2017-01-04 11:39:52 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-04 11:39:52 +0300 |
commit | fe2858c8c6d167df33a839591ebe63ea05a69d06 (patch) | |
tree | 5293513073f335bcb68765cbefbb2f1e4d3a00d6 /drivers/pwm/core.c | |
parent | 247bde13b91aad0e27446eb356420052c474e4c3 (diff) | |
download | linux-fe2858c8c6d167df33a839591ebe63ea05a69d06.tar.xz |
pwm: Remove pwm_can_sleep()
The last user of this function has been removed, so it is no longer
needed.
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/core.c')
-rw-r--r-- | drivers/pwm/core.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c index 172ef8245811..78e114a11c4f 100644 --- a/drivers/pwm/core.c +++ b/drivers/pwm/core.c @@ -960,18 +960,6 @@ void devm_pwm_put(struct device *dev, struct pwm_device *pwm) } EXPORT_SYMBOL_GPL(devm_pwm_put); -/** - * pwm_can_sleep() - report whether PWM access will sleep - * @pwm: PWM device - * - * Returns: True if accessing the PWM can sleep, false otherwise. - */ -bool pwm_can_sleep(struct pwm_device *pwm) -{ - return true; -} -EXPORT_SYMBOL_GPL(pwm_can_sleep); - #ifdef CONFIG_DEBUG_FS static void pwm_dbg_show(struct pwm_chip *chip, struct seq_file *s) { |