diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-08-07 03:11:14 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-04 03:36:53 +0400 |
commit | 8bc0251de2932e603f8ed73b76ba2d64b2dc1d18 (patch) | |
tree | a29341739203de17f76c4044e5ad24b095e758f5 /drivers/input/misc/adxl34x-spi.c | |
parent | fb7268be9f72bed6ae48554f00f2dcb2ef333bfc (diff) | |
download | linux-8bc0251de2932e603f8ed73b76ba2d64b2dc1d18.tar.xz |
PM / Domains: Add power-on function using names to identify domains
It sometimes is necessary to turn on a given PM domain when only
the name of it is known and the domain pointer is not readily
available. For this reason, add a new helper function,
pm_genpd_name_poweron(), allowing the caller to turn on a PM domain
using its name for identification. To avoid code duplication,
move the domain lookup code to a separate function.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/input/misc/adxl34x-spi.c')
0 files changed, 0 insertions, 0 deletions