From: Arnaud Lacombe Date: Mon, 16 May 2011 03:42:09 +0000 (-0400) Subject: kconfig: introduce specialized printer X-Git-Tag: v3.1-rc1~115^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e54e692ba613c2170c66ce36a3791c009680af08;p=pandora-kernel.git kconfig: introduce specialized printer Make conf_write_symbol() grammar agnostic to be able to use it from different code path. These path pass a printer callback which will print a symbol's name and its value in different format. conf_write_symbol()'s job become mostly only to prepare a string for the printer. This avoid to have to pass specialized flag to generic functions Signed-off-by: Arnaud Lacombe [mmarek: rebased on top of de12518 (kconfig: autogenerated config_is_xxx macro)] Signed-off-by: Michal Marek --- Reading git-diff-tree failed