gpio: xgene: Fix build warning for !PM_SLEEP

The xgene_gpio_suspend() and xgene_gpio_resume() functions are only used
when PM_SLEEP is enabled, so update the #ifdef guard accordingly.

Signed-off-by: Thierry Reding <treding@nvidia.com>
gpio: 74xx-mmio: Fix build warning on 64-bit

On 64-bit, pointers are the size of unsigned long and casting to
unsigned (int) will cause a warning.

Signed-off-by: Thierry Reding <treding@nvidia.com>
media: st-rc: Fix build warning for !PM_SLEEP

The st_rc_suspend() and st_rc_resume() functions are only used when
PM_SLEEP is enabled, so make sure to only define them when needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
amd-xgbe: Fix build warning for !PM_SLEEP

The xgbe_suspend() and xgbe_resume() functions are only used when
PM_SLEEP is enabled, so make sure to only define them when needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
net/macb: Fix build warnings for !PM_SLEEP

The macb_suspend() and macb_resume() functions are only used when
PM_SLEEP is enabled, so make sure to only define them when needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
stmmac: Fix build warnings for !PM_SLEEP

The stmmac_pltfr_suspend() and stmmac_pltfr_resume() functions are only
used when PM_SLEEP is enabled, so make sure to only define them when
needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
spi/atmel: Fix build warning for !PM_SLEEP

atmel_spi_suspend() and atmel_spi_resume() are only used when PM_SLEEP
is enabled. The same goes for atmel_spi_runtime_suspend/resume() and
PM_RUNTIME. Make sure to only define the functions when they are really
used to prevent build warnings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
usb: gadget: xilinx: Print pointers using %p

Regular pointers can be printed using the %p specifier. Casting to a u32
will cause the compiler to emit a warning on 64-bit builds.

Signed-off-by: Thierry Reding <treding@nvidia.com>
usb: musb: ux500: Fix build warnings for !PM_SLEEP

The ux500_suspend() and ux500_resume() functions are only used when
PM_SLEEP is enabled, so make sure to only define them when needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
AUO-K190x: Fix build warnings for !PM_SLEEP and !PM_RUNTIME

The auok190x_runtime_suspend/resume() functions are only used when
PM_RUNTIME is enabled. The same goes for auok190x_suspend/resume() and
PM_SLEEP. Make sure to only define the function when needed to avoid a
compiler warning about them being unused.

Signed-off-by: Thierry Reding <treding@nvidia.com>