mtd: st_spi_fsm: Convert ST SPI FSM (NOR) Flash driver to new DT partitions
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:21:07 +0000 (09:21 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:22 +0000 (04:17 -0700)
commit221cff13cacc55b495bac33bf0f79abe59a6f265
tree999a8ef5cc4208202a375fc57ae50cec761df963
parente6b1bb4e18919b969cd876d48b40733993c2a7c7
mtd: st_spi_fsm: Convert ST SPI FSM (NOR) Flash driver to new DT partitions

The old API expected a "partitions" property provided a phandle to a
separate partitions node, which itself contained yet more nodes each
representing one partition. The new API rids the requirement for the
superfluous intermediary partitions node. This patch provides the
added information required for automatic parsing by the core.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/st_spi_fsm.c