[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131202122113.GY27568@sirena.org.uk>
Date: Mon, 2 Dec 2013 12:21:13 +0000
From: Mark Brown <broonie@...nel.org>
To: Stefan Agner <stefan@...er.ch>
Cc: swarren@...dotorg.org, thierry.reding@...il.com, dev@...xeye.de,
lee.jones@...aro.org, lgirdwood@...il.com,
kai.poggensee@...onic-design.de, sameo@...ux.intel.com,
linux-tegra@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] mfd: tps6586x: add version detection
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.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists