From: Artem Bityutskiy Date: Fri, 30 Dec 2011 13:57:25 +0000 (+0200) Subject: mtd: clean-up the default_mtd_writev function X-Git-Tag: v3.3-rc1~119^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52b020317f65114eeba2ee2cfa70a51a286f1d8a;p=pandora-kernel.git mtd: clean-up the default_mtd_writev function 1. Teach 'mtd_write()' function to return '-EROFS' if the write method is undefined, and remove the corresponding check from 'default_mtd_writev()'. 2. Do not test 'retlen' for NULL - it cannot be NULL. 3. Few minor coding stile clean-ups. 4. Add a kerneldoc comment Additionally, minor fixes to the kerneldoc comments of the neighbor function. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed