include/linux/kdev_t.h: old/new_valid_dev() can return bool
authorYaowei Bai <bywxiaobai@163.com>
Wed, 21 Oct 2015 22:13:26 +0000 (09:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 5 Nov 2015 05:11:49 +0000 (16:11 +1100)
commitb1e59d7a2a6fcc2875b9cd68f773394863ea6170
tree17ed76dd03921352733c46fe0c4a69ce21971494
parentdb72b144b58bf62d539f70011ee5d775e88e8455
include/linux/kdev_t.h: old/new_valid_dev() can return bool

Make old/new_valid_dev return bool due to these two particular functions
only using either one or zero as their return value.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/kdev_t.h