Skip to content
Commit 20aa787e authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: ti_am335x_tsc - use SIMPLE_DEV_PM_OPS



Instead of doing the dance with macro that either resolves to a pointer or
NULL, let's switch to using SIMPLE_DEV_PM_OPS().

Also let's mark suspend and resume methods as __maybe_unused instead of
guarding them with an #ifdef and rely on linker to drop unused code. Doing
so should allow better compile coverage.

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent b5ca3ea3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment