On Wed, Dec 09, 2015 at 11:17:22AM +0800, Xiubo Li wrote:This could be found in the for-next branch of regmap tree.
Yes, usually when the register cache is not used, the number of theI can't find either of those in the kernel tree...
defaults should be zero, but for some drivers like drv2267.c/led_lp8860.c
will add the defaults register values though the cache type is
REGCACHE_NONE for some reasons.
Yes, Agreed.This patch may be not the best, but will be a bit meaningful for someTBH if we're going to do something here it might be as well to print a
drivers like drv2267.c/led_lp8860.c for now.
warning if something is providing register defaults but no cache.