nand: raw: Do not free xnand structure
authorMichal Simek <michal.simek@xilinx.com>
Tue, 25 Feb 2020 13:51:48 +0000 (14:51 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Apr 2020 10:52:05 +0000 (12:52 +0200)
commit36f1f3b640c52c9d28a92675b579c2905cee9c8f
treeac1f19a61cf3fe364056be2656039c72d4f1399f
parent7c49a6d08e6dbdcb004f9a1129b40b297a2ac2f2
nand: raw: Do not free xnand structure

xnand structure is private data structure and it is handled by core and
probe shouldn't touch it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/nand/raw/zynq_nand.c