kconfig: return 'false' instead of 'no' in bool function
authorVegard Nossum <vegard.nossum@oracle.com>
Fri, 1 Jan 2016 16:34:05 +0000 (17:34 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 27 Apr 2016 14:17:14 +0000 (16:17 +0200)
commitfb6dc8e7a5db1d30bb9dc96fc86880dae9bb9006
tree354d0460047fb715715fe54f5460826fee061d29
parent4f0ff3e00285b285bdab7d43393a3d393e9d415e
kconfig: return 'false' instead of 'no' in bool function

menu_is_visible() is a bool function and should use boolean return
values. "no" is a tristate value which happens to also have a value
of 0, but we should nevertheless use the right symbol for it.

This is a very minor cleanup with no semantic change.

Fixes: 86e187ff9 ("kconfig: add an option to determine a menu's visibility")
Cc: Arnaud Lacombe <lacombar@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
config/menu.c