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

From: Mark Brown
Date: Fri Jul 25 2014 - 13:34:40 EST


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.

Attachment: signature.asc
Description: Digital signature