commit | 0304f8eaa3aebc0480787139a26c7a19ac9936bd | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Thu Oct 04 15:01:07 2018 +0200 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Mon Oct 08 21:32:57 2018 +0200 |
tree | e919ae3ad07db4ca64498df0d6d3462be82d6715 | |
parent | 460cdeca546fc75f2450914c96e701f990396285 [diff] |
mtd: maps: gpio-addr-flash: Replace array with an integer By replacing the array with an integer we can avoid completely the bit comparison loop if the value has not changed (by far the most common case). Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>