pwm: Implement tracing for .get_state() and .apply_state()

This allows to log all calls to the driver's lowlevel functions which
simplifies debugging in some cases.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Uwe Kleine-König 2019-10-24 10:08:29 +02:00 • committed by Thierry Reding
commit 1188829abc
2 changed files with 66 additions and 1 deletions