From: Bastian Hecht Date: Fri, 19 Oct 2012 10:15:34 +0000 (+0200) Subject: mtd: sh_flctl: Minor cleanups X-Git-Tag: v3.8-rc1~47^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8a9d8f31c592eea89f1b0d3fd425e7a96944e88;p=pandora-kernel.git mtd: sh_flctl: Minor cleanups Some small fixes to avoid sparse and smatch complain. Other cosmetic fixes as well. - Change of the type of the member index in struct sh_flctl from signed to unsigned. We use index by addressing array members, so unsigned is more concise here. Adapt functions relying on sh_flctl::index. - Remove a blurring cast in write_fiforeg(). - Apply consistent naming scheme when refering to the data buffer. - Shorten some unnecessarily verbose functions. - Remove spaces at start of lines. Signed-off-by: Bastian Hecht Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed