Commit 86793395 authored by Valentin Vidic's avatar Valentin Vidic Committed by Greg Kroah-Hartman

staging: pi433: replace simple switch statements

Use const array to map switch cases to resulting values.
Signed-off-by: default avatarValentin Vidic <Valentin.Vidic@CARNet.hr>
Reviewed-by: default avatarMarcus Wolf <Marcus.Wolf@Wolf-Entwicklungen.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 983000d7
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment