On Fri, 29 Nov 2013, Peter Ujfalusi wrote: > Add reg_defaults to regmap and at the same time implement proper power state > handling with using regcache_cache_only(), regcache_sync() and > regcache_mark_dirty(). > This will make sure that we do not need to do restore operations in child > drivers anymore. > > Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> > --- > drivers/mfd/twl6040.c | 92 > +++++++++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 89 insertions(+), 3 deletions(-)
The code looks fine to me (me = !regmap expert), so with Mark's Ack I will apply. Mark, is an immutable branch required for this patch? -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/