commit | 8679339524c11497b7b7019fa7e24fe8e9a78a91 | [log] [tgz] |
---|---|---|
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | Sun Jun 24 18:31:38 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 28 22:00:13 2018 +0900 |
tree | e19424ef19dc2462b90e5d8347b5e5c5e93666b2 | |
parent | 983000d7fa5d7538915810b58c9e63cb6118eb1e [diff] |
staging: pi433: replace simple switch statements Use const array to map switch cases to resulting values. Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr> Reviewed-by: Marcus Wolf <Marcus.Wolf@Wolf-Entwicklungen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>