[PATCH v2 01/16] regmap: Add regmap_get_device
From: broonie@kernel.org (Mark Brown)
Date: 2014-07-25 17:34:37
Also in:
linux-devicetree, linux-pm, linux-tegra, lkml
From: broonie@kernel.org (Mark Brown)
Date: 2014-07-25 17:34:37
Also in:
linux-devicetree, 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140725/978e921c/attachment.sig>