From: Pekon Gupta Date: Thu, 20 Mar 2014 13:18:35 +0000 (+0530) Subject: mtd: devices: elm: clean elm_load_syndrome X-Git-Tag: v3.15-rc1~65^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0760244d235688b5fae4e5cdd9412c1fb1c2fe;p=pandora-kernel.git mtd: devices: elm: clean elm_load_syndrome This patch refactors elm_load_syndrome() to make it scalable for newer ECC schemes by removing scheme specific macros (like ECC_BYTES*xx), and instead using ECC control information passed during elm_config. Signed-off-by: Pekon Gupta Reviewed-by: Ezequiel Garcia Signed-off-by: Brian Norris --- Reading git-diff-tree failed