Hauke Mehrtens c09007c1af kernel/generic: modify mtd related patches for 3.14
Function register_mtd_parser always returned 0 (at least since v3.3)
before being changed to return void in v3.14-rc1~65^2~93 (mtd: make
register_mtd_parser return void), so it's not needed to check the
return value of this function. Also add __init flag to caller.

This fix compile errors in 3.14 kernel like:
drivers/mtd/mtdsplit_seama.c: In function 'mtdsplit_seama_init':
drivers/mtd/mtdsplit_seama.c:99:2: error: void value not ignored as it ought to be
  return register_mtd_parser(&mtdsplit_seama_parser);
  ^

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40731
2014-05-08 21:51:36 +00:00
..
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2013-09-26 17:53:20 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2013-09-26 17:53:20 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-03-26 11:34:39 +00:00
2014-02-09 16:14:30 +00:00
2014-04-12 11:59:07 +00:00
2014-04-12 11:59:07 +00:00
2014-05-07 01:16:14 +00:00
2014-04-12 11:59:07 +00:00
2013-09-26 17:53:14 +00:00
2014-04-12 11:59:07 +00:00
2014-02-18 22:16:04 +00:00
2014-04-12 11:59:07 +00:00
2010-08-06 21:36:35 +00:00