diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2018-10-04 15:01:06 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-08 21:32:49 +0200 |
commit | 460cdeca546fc75f2450914c96e701f990396285 (patch) | |
tree | 7a610da79206aad6dac00c6ee6a3dd98ef87397d /drivers/irqchip | |
parent | 4edc00adfd58768b065204968948c52f5e5b07b1 (diff) |
mtd: maps: gpio-addr-flash: Use order instead of size
By using the order of the window instead of the size, we can replace a
lot of expensive division and modulus on the code with simple bit
operations.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions