Thread (39 messages) 39 messages, 7 authors, 2014-08-18

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

From: Mark Brown <broonie@kernel.org>
Date: 2014-07-25 17:34:37
Also in: linux-arm-kernel, linux-pm, linux-tegra, lkml

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 exporting the symbol so it can be used from modules.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help