commit | 5035fc5915461fd979a78f0118d6040323f49c76 | [log] [tgz] |
---|---|---|
author | Malcolm Priestley <tvboxspy@gmail.com> | Thu Apr 02 21:45:21 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 13 08:55:28 2020 +0200 |
tree | e9dd5c2958cc3c0822ed8280aa75163d14a9c621 | |
parent | d12d96ff66b7a131afc78c217382bdd9ca488ad2 [diff] |
staging: vt6656: replace al2230_power_table array with formula. The power table can replaced with calculation 0x0404090 | (power << 12) removing array and length macro. variable power never goes beyond the maximum setting. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Link: https://lore.kernel.org/r/e277409a-4509-d09c-515d-59b952f8310d@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>