Skip to content
Commit f45f40ad authored by Lucas Tanure's avatar Lucas Tanure Committed by Greg Kroah-Hartman
Browse files

stm class: Use a signed return type for stm_find_master_chan



The return type "unsigned int" was used by the stm_find_master_chan function
despite of the aspect that it will eventually return a negative error code.

Done with the help of Coccinelle.

Signed-off-by: default avatarLucas Tanure <tanure@linux.com>
Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 396ec3de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment