aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHector Martin <[email protected]>2022-10-24 13:39:23 +0900
committerViresh Kumar <[email protected]>2022-11-02 10:30:31 +0530
commitd182dc6de93225cd853de4db68a1a77501bedb6e (patch)
tree39082938608ff21c62edd0162e9086252ed3bb12 /drivers/fpga/fpga-mgr.c
parent30a0b95b1335e12efef89dd78518ed3e4a71a763 (diff)
cpufreq: Generalize of_perf_domain_get_sharing_cpumask phandle format
of_perf_domain_get_sharing_cpumask currently assumes a 1-argument phandle format, and directly returns the argument. Generalize this to return the full of_phandle_args, so it can be used by drivers which use other phandle styles (e.g. separate nodes). This also requires changing the CPU sharing match to compare the full args structure. Also, make sure to of_node_put(args.np) (the original code was leaking a reference). Signed-off-by: Hector Martin <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions