]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Domains: Don't expose xlate and provider helper functions
authorJon Hunter <jonathanh@nvidia.com>
Mon, 12 Sep 2016 11:01:09 +0000 (12:01 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 Sep 2016 00:49:33 +0000 (02:49 +0200)
commitea5fd3543c6a54a09031f244520797dea9392f73
tree0f8d8ca5000d7fb720536e0b56941dc62c31815c
parented0b885c8b4b1541a3995ff9df1aa45e9f1e1cb5
PM / Domains: Don't expose xlate and provider helper functions

Functions __of_genpd_xlate_simple(), __of_genpd_xlate_onecell() and
__of_genpd_add_provider() are not used outside of the core generic PM
domain code. Therefore, reduce the number of APIs exposed by making
these static. At the same time don't expose the typedef for
genpd_xlate_t either and make this a local definition as well.

The functions are renamed to follow the naming conventions for static
functions in the generic PM domain core.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
include/linux/pm_domain.h