pwm: Drop per-chip dbg_show callback

This callback was introduced in commit 62099abf67 ("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 <[email protected]>
[[email protected]: remove kerneldoc for ->dbg_show()]
Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
Uwe Kleine-König 2019-01-07 20:49:39 +01:00 • committed by Thierry Reding
commit cc2d224777
2 changed files with 1 additions and 8 deletions

View file

@ -1036,10 +1036,7 @@ static int pwm_seq_show(struct seq_file *s, void *v)
dev_name(chip->dev), chip->npwm,
(chip->npwm != 1) ? "s" : "");
if (chip->ops->dbg_show)
chip->ops->dbg_show(chip, s);
else
pwm_dbg_show(chip, s);
pwm_dbg_show(chip, s);
return 0;
}