diff options
author | Uwe Kleine-König <[email protected]> | 2021-03-21 15:24:12 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2021-03-25 11:14:08 -0700 |
commit | 8f50743feedd9a4d322322ef1d91426401e98e10 (patch) | |
tree | ffdcd3136783ade3f686d8fd65aff39805dfa294 /lib/netdev-notifier-error-inject.c | |
parent | 8b488ef295f206885dbe48de09346059df620dfa (diff) |
Input: max8997 - simplify open coding of a division using up to 64 divisions
The for loop is just a complicate way to express a division. Replace it
by the actual division which is both simpler to understand for a human
and more efficient for a CPU to calculate.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions