[PATCH v2 0/8] gpio-addr-flash: Support for device-tree and cleanup

From: Ricardo Ribalda Delgado
Date: Wed Sep 05 2018 - 10:36:55 EST


This patch series does the following:

1) Fix bug regarding ioremap size
2) Cleanup code to use new APIs
3) Simplify numerical operations
4) Add support for device-tree devices

Thanks!

Changelog v2:

>From Boris Brezillon:
-Add Fixes and cc:stable

>From kbuild:
- Fix warnings

- Rebase

Ricardo Ribalda Delgado (8):
mtd: maps: gpio-addr-flash: Replace custom printk
mtd: maps: gpio-addr-flash: Fix ioremapped size
mtd: maps: gpio-addr-flash: Use devm_* functions
mtd: maps: gpio-addr-flash: Use order insted of size
mtd: maps: gpio-addr-flash: Replace array with an integer
mtd: maps: gpio-addr-flash: Split allocation in two
mtd: maps: gpio-addr-flash: Add support for device-tree devices
dt-binding: mtd: Document gpio-addr-flash

.../bindings/mtd/gpio-addr-flash.txt | 46 +++
drivers/mtd/maps/gpio-addr-flash.c | 276 ++++++++++++------
2 files changed, 236 insertions(+), 86 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/gpio-addr-flash.txt

--
2.18.0