diff options
| author | Oscar Carter <oscar.carter@gmx.com> | 2020-04-25 16:15:14 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-28 14:19:13 +0200 |
| commit | 345f2d84dd1a749b4711eca88a98c12a87e39c18 (patch) | |
| tree | 864e5ee594e504c6c8f4404cb312265acaa648ad /tools/perf/scripts/python | |
| parent | f5e5e3024c1ea8b7dd04f5ac3f89afe08d470233 (diff) | |
| download | linux-345f2d84dd1a749b4711eca88a98c12a87e39c18.tar.gz linux-345f2d84dd1a749b4711eca88a98c12a87e39c18.zip | |
staging: vt6656: Add formula to the vnt_rf_addpower function
Use a formula to calculate the return value of the vnt_rf_addpower
function instead of the "if" statement with literal values for every
case.
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200425141514.5528-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
