]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arch_topology: Change return type of topology_parse_cpu_capacity() to bool
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 23 Jun 2017 09:25:32 +0000 (14:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:32:05 +0000 (17:32 +0200)
commit805df2966f67a6b1a228c8e580e230b6c849b41e
treed600706aaa5a28ebba5825362f7640091c8a1c7d
parent93a57081d20c1f93c209fec0f247f5bed936cc34
arch_topology: Change return type of topology_parse_cpu_capacity() to bool

topology_parse_cpu_capacity() returns 1 on success and 0 on errors. Make
it return bool instead of int as that suits the purpose better.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Juri Lelli <juri.lelli@arm.com>
Tested-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/arch_topology.c
include/linux/arch_topology.h