]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
pwm: tiecap: add CONFIG_PM_SLEEP to ecap_pwm_{save,restore}_context()
authorJingoo Han <jg1.han@samsung.com>
Fri, 2 Aug 2013 06:11:18 +0000 (15:11 +0900)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 3 Sep 2013 11:09:16 +0000 (13:09 +0200)
commit3943a650f62d0a88788db30c92df584660f3999d
tree8cc263cf3d24bc2ff2f02c569f4ecd48b0b3f5d6
parent88d5a2e6ffaa32e2a09a994872ca10aca07a36e9
pwm: tiecap: add CONFIG_PM_SLEEP to ecap_pwm_{save,restore}_context()

ecap_pwm_save_context() and ecap_pwm_restore_context() are only used
when CONFIG_PM_SLEEP is selected.

drivers/pwm/pwm-tiecap.c:293:13: warning: 'ecap_pwm_save_context' defined but not used [-Wunused-function]
drivers/pwm/pwm-tiecap.c:302:13: warning: 'ecap_pwm_restore_context' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-tiecap.c