• J
    regmap: make LZO cache optional · 34a730aa
    Jonas Gorski 提交于
    Commit 2cbbb579 ("regmap: Add the LZO cache support") added support
    for LZO compression in regcache, but there were never any users added
    afterwards. Since LZO support itself has its own size, it currently is
    rather a deoptimization.
    
    So make it optional by introducing a symbol that can be selected by
    drivers wanting to make use of it.
    
    Saves e.g. ~46 kB on MIPS (size of LZO support + regcache LZO code).
    Signed-off-by: NJonas Gorski <jonas.gorski@gmail.com>
    Signed-off-by: NMark Brown <broonie@kernel.org>
    34a730aa
regcache.c 17.5 KB