dm: power-domain: Update uclass to support livetree

Update the power domain uclass to support livetree. Fix the xlate() method
which has no callers.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2017-05-18 20:09:49 -06:00
parent 5204e9b86b
commit 424b2fe939
2 changed files with 9 additions and 12 deletions

View file

@ -40,7 +40,7 @@ struct power_domain_ops {
* @return 0 if OK, or a negative error code.
*/
int (*of_xlate)(struct power_domain *power_domain,
struct fdtdec_phandle_args *args);
struct ofnode_phandle_args *args);
/**
* request - Request a translated power domain.
*