Re: [PATCH v2 01/16] regmap: Add regmap_get_device

2014-07-25 Thread Mark Brown
On Mon, Jul 21, 2014 at 06:38:47PM +0300, Tuomas Tynkkynen wrote: > Add a new function regmap_get_device to obtain the underlying struct > device from a regmap. I've also created a signed tag for use in other trees: The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: L

Re: [PATCH v2 01/16] regmap: Add regmap_get_device

2014-07-25 Thread Mark Brown
On Mon, Jul 21, 2014 at 06:38:47PM +0300, Tuomas Tynkkynen wrote: > Add a new function regmap_get_device to obtain the underlying struct > device from a regmap. I've applied this... > +struct device *regmap_get_device(struct regmap *map) > +{ > + return map->dev; > +} > + ...plus a followup

[PATCH v2 01/16] regmap: Add regmap_get_device

2014-07-21 Thread Tuomas Tynkkynen
Add a new function regmap_get_device to obtain the underlying struct device from a regmap. Signed-off-by: Tuomas Tynkkynen --- drivers/base/regmap/regmap.c | 12 include/linux/regmap.h | 7 +++ 2 files changed, 19 insertions(+) diff --git a/drivers/base/regmap/regmap.c b