]> git.karo-electronics.de Git - linux-beck.git/commit
staging: unisys: visorbus: Change support functions to integer return vals
authorDavid Binder <david.binder@unisys.com>
Mon, 26 Sep 2016 15:03:47 +0000 (11:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 11:06:16 +0000 (13:06 +0200)
commit1306c429e2ce16d988a214456942b08f709a3e84
tree88151390013b7f4d86b0ae44c5b1844953c5991d
parentbff8c1a1604a73ce0e6d5182e441b97be563fcd4
staging: unisys: visorbus: Change support functions to integer return vals

Per Documentation/CodingStyle, function names that convey an action or an
imperative command should return an integer value. This commit changes
several functions and a macro, internal to visorchannel.c, to follow this
paradigm. These changes will be necessary later on to change other
functions in this file, which are part of the visorbus API, to return
integer values in lieu of a boolean.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchannel.c