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 <u.kleine-koenig@pengutronix.de>
[thierry.reding@gmail.com: remove kerneldoc for ->dbg_show()]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:

committed by
Thierry Reding

parent
309b32fb97
commit
cc2d224777
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user