diff options
| author | Raphael Gallais-Pou <rgallaispou@gmail.com> | 2025-01-09 18:20:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-11 19:02:30 +0300 |
| commit | e84a7da8c5d6675be203876fd51c3897aaaf207d (patch) | |
| tree | 720fde95e0120464b9e890283bdf42d0b3ae0d46 /net/lapb/lapb_subr.c | |
| parent | a266462b937beba065e934a563efe13dd246a164 (diff) | |
| download | linux-e84a7da8c5d6675be203876fd51c3897aaaf207d.tar.xz | |
usb: dwc3: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less error prone than the
use of #ifdef based kernel configuration guards.
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20250109152055.52931-1-rgallaispou@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
