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)
commit892ebdcccb4e11c5b43036a50e89e3869df5b429
tree0f8d8ca5000d7fb720536e0b56941dc62c31815c
parentf58d4e5ab0ca3453f091eab514474e9fdbfc539f
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