lkml.org 
[lkml]   [2014]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hwrandom / exynos / PM: Use CONFIG_PM in #ifdef
On Wed, Dec 03, 2014 at 02:40:35AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> CONFIG_PM is defined as the alternative of CONFIG_PM_RUNTIME and
> CONFIG_PM_SLEEP, so it can be used instead of that.
>
> Besides, after commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if
> PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so
> using the alternative isn't even necessary.
>
> Use CONFIG_PM instead of it in drivers/char/hw_random/exynos-rng.c.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Acked-by: Herbert Xu <herbert@gondor.apana.org.au>

> Please let me know if it is OK to take this one into linux-pm.

Sure.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


\
 
 \ /
  Last update: 2014-12-03 05:41    [W:0.044 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site