Re: [PATCH 14/20] usb/phy: mxs-usb: Use pm_ptr() macro

2020-09-06 Thread Felipe Balbi
Paul Cercueil writes: > Use the newly introduced pm_ptr() macro, and mark the suspend/resume > functions __maybe_unused. These functions can then be moved outside the > CONFIG_PM_SUSPEND block, and the compiler can then process them and > detect build failures independently of the config. If unus

Re: [PATCH 14/20] usb/phy: mxs-usb: Use pm_ptr() macro

2020-09-04 Thread Peter Chen
On 20-09-03 13:25:48, Paul Cercueil wrote: > Use the newly introduced pm_ptr() macro, and mark the suspend/resume > functions __maybe_unused. These functions can then be moved outside the > CONFIG_PM_SUSPEND block, and the compiler can then process them and > detect build failures independently of

[PATCH 14/20] usb/phy: mxs-usb: Use pm_ptr() macro

2020-09-03 Thread Paul Cercueil
Use the newly introduced pm_ptr() macro, and mark the suspend/resume functions __maybe_unused. These functions can then be moved outside the CONFIG_PM_SUSPEND block, and the compiler can then process them and detect build failures independently of the config. If unused, they will simply be discarde