On Sun, Dec 01, 2013 at 04:59:13PM +0100, Stefan Agner wrote:

> +int tps6586x_get_version(struct device *dev)
> +{
> +     struct tps6586x *tps6586x = dev_get_drvdata(dev);
> +
> +     return tps6586x->version;
> +}
> +EXPORT_SYMBOL_GPL(tps6586x_get_version);

May as well make this a static inline in the header.

Attachment: signature.asc
Description: Digital signature

Reply via email to