mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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:
parent
309b32fb97
commit
cc2d224777
2 changed files with 1 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue