diff options
author | Andy Shevchenko <[email protected]> | 2022-11-30 14:36:12 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-02 10:42:26 +0000 |
commit | 0bbe50f3e85aadeb7417905b1011fc5f98d8c897 (patch) | |
tree | d56f71820fb69212c9253c0fb5e1db9d7d8f5eac /lib/mpi/mpi-sub-ui.c | |
parent | 47b438cc27254fa68b7360de153db4093c9259f4 (diff) |
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: Andy Shevchenko <[email protected]>
Acked-by: Mika Westerberg <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions