Skip to content
Commit 0bbe50f3 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by David S. Miller
Browse files

net: thunderbolt: Switch from __maybe_unused to pm_sleep_ptr() etc



Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less heavier for builds
than the use of __maybe_unused attributes.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47b438cc
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