aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pwm.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-01-07 20:49:39 +0100
committerThierry Reding <thierry.reding@gmail.com>2019-01-10 09:34:12 +0100
commitcc2d22477779f189595db5c515bd5ef9c75a1f35 (patch)
tree30d44e6f962e7373b3f2c67df1a0e21a59ce9c1c /include/linux/pwm.h
parentpwm: Don't use memcmp() to compare state variables (diff)
downloadlinux-dev-cc2d22477779f189595db5c515bd5ef9c75a1f35.tar.xz
linux-dev-cc2d22477779f189595db5c515bd5ef9c75a1f35.zip
pwm: Drop per-chip dbg_show callback
This callback was introduced in commit 62099abf67a2 ("pwm: Add debugfs interface") in 2012 and up to now there is not a single user. So drop this unused code. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [thierry.reding@gmail.com: remove kerneldoc for ->dbg_show()] Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/linux/pwm.h')
-rw-r--r--include/linux/pwm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h
index d5199b507d79..6a544cb89de4 100644
--- a/include/linux/pwm.h
+++ b/include/linux/pwm.h
@@ -254,7 +254,6 @@ pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle,
* @get_state: get the current PWM state. This function is only
* called once per PWM device when the PWM chip is
* registered.
- * @dbg_show: optional routine to show contents in debugfs
* @owner: helps prevent removal of modules exporting active PWMs
*/
struct pwm_ops {
@@ -272,9 +271,6 @@ struct pwm_ops {
struct pwm_state *state);
void (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
struct pwm_state *state);
-#ifdef CONFIG_DEBUG_FS
- void (*dbg_show)(struct pwm_chip *chip, struct seq_file *s);
-#endif
struct module *owner;
};