• Arnaud Lacombe's avatar
    kconfig: introduce specialized printer · e54e692b
    Arnaud Lacombe authored
    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: default avatarArnaud Lacombe <lacombar@gmail.com>
    [mmarek: rebased on top of de125187 (kconfig: autogenerated config_is_xxx
    macro)]
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    e54e692b
symbol.c 27.1 KB