Axel Lin
4d79833245
leds: renesas-tpu: Improve the readability to pick the lowest acceptable rate
...
I spent a few minutes to understand why the code catching the mismatch case
by checking if k is 0 or not. And the code using "k - 1" as array index is
unusual.
This patch checks acceptable rate from the lowest rate, and then we don't need
to subtract k by 1. This change improves the readability.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
2013-02-01 17:47:06 -08:00
..
2011-10-31 19:31:49 -04:00
2012-11-21 20:58:49 +00:00
2012-11-27 14:49:25 -08:00
2012-09-11 18:32:40 +08:00
2012-11-27 14:49:30 -08:00
2012-11-26 14:28:49 -08:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:34:57 -08:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2012-12-15 12:52:42 -08:00
2012-12-15 12:52:42 -08:00
2012-12-15 12:52:42 -08:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2012-07-24 07:52:40 +08:00
2012-11-26 14:28:45 -08:00
2011-05-25 08:39:51 -07:00
2013-01-02 17:58:41 -08:00
2012-01-10 16:30:48 -08:00
2012-12-15 12:52:42 -08:00
2013-02-01 17:47:06 -08:00
2012-11-28 12:35:06 -08:00
2012-12-15 12:52:42 -08:00
2011-10-31 19:31:49 -04:00
2012-12-15 12:52:42 -08:00
2012-12-15 12:52:42 -08:00
2012-12-15 12:52:42 -08:00
2013-02-01 17:47:05 -08:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-27 14:49:28 -08:00
2012-12-15 12:52:42 -08:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2012-12-15 12:52:42 -08:00
2013-02-01 17:47:04 -08:00
2012-11-28 12:35:06 -08:00
2013-02-01 17:47:05 -08:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2013-02-01 17:47:06 -08:00
2012-09-19 17:42:18 +02:00
2012-12-15 12:52:42 -08:00
2012-11-28 12:35:06 -08:00
2013-02-01 17:47:04 -08:00
2012-01-10 16:30:49 -08:00
2012-11-27 14:49:29 -08:00
2012-11-27 14:49:30 -08:00
2012-09-11 18:32:40 +08:00
2012-11-27 14:49:30 -08:00
2012-11-11 12:09:43 -08:00
2012-07-24 07:52:34 +08:00
2012-11-26 14:28:49 -08:00
2012-07-24 07:52:34 +08:00
2012-07-24 07:52:34 +08:00
2012-07-24 07:52:34 +08:00
2012-07-24 07:52:34 +08:00
2012-07-24 07:52:34 +08:00
2012-10-10 20:14:07 +09:00