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
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
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
3 matches
Mail list logo