Re: [PATCH] sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

From: Nicolin Chen
Date: Sat Dec 06 2014 - 04:51:19 EST


On Sat, Dec 06, 2014 at 03:46:27AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
> selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
> depending on CONFIG_PM_RUNTIME may now be changed to depend on
> CONFIG_PM.
>
> Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under sound/.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> ---
>
> Note: This depends on commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if
> PM_SLEEP is selected) which is only in linux-next at the moment (via the
> linux-pm tree).
>
> Please let me know if it is OK to take this one into linux-pm.
>
> ---
> sound/pci/hda/hda_controller.c | 2 +-
> sound/pci/hda/hda_intel.c | 5 +----
> sound/soc/codecs/cs35l32.c | 2 +-
> sound/soc/codecs/cs42xx8.c | 2 +-
> sound/soc/codecs/max98090.c | 2 +-
> sound/soc/codecs/pcm512x.c | 2 +-
> sound/soc/codecs/tas2552.c | 4 ++--
> sound/soc/codecs/wm2200.c | 2 +-
> sound/soc/codecs/wm5100.c | 2 +-
> sound/soc/codecs/wm8962.c | 2 +-
> sound/soc/fsl/fsl_asrc.c | 4 ++--
> sound/soc/samsung/i2s.c | 4 ++--
> 12 files changed, 15 insertions(+), 18 deletions(-)

For cs42xx8.c and fsl_asrc.c

Acked-by: Nicolin Chen <nicoleotsuka@xxxxxxxxx>

Thank you
Nic
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/