[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150617080006.GH6325@pengutronix.de>
Date: Wed, 17 Jun 2015 10:00:06 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
arnd@...db.de, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, pantelis.antoniou@...sulko.com,
Rob Herring <robh+dt@...nel.org>,
Mark Brown <broonie@...nel.org>,
Kumar Gala <galak@...eaurora.org>, mporter@...sulko.com,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
linux-api@...r.kernel.org, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH v5 04/11] nvmem: Add a simple NVMEM framework for
consumers
On Tue, Jun 16, 2015 at 03:29:25PM -0700, Stephen Boyd wrote:
> On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote:
> > + /* if it's not end on byte boundary */
> > + if ((nbits + bit_offset) % BITS_PER_BYTE) {
> > + /* setup the last byte with msb bits from nvmem */
> > + rc = regmap_raw_read(nvmem->regmap,
> > + cell->offset + cell->bytes - 1, &v, 1);
> > + *p |= GENMASK(7, (nbits + bit_offset) % BITS_PER_BYTE) & v;
> > +
> > + }
> > +
> > + return buf;
> > +}
> > +
> > +/**
> > + * nvmem_cell_write(): Write to a given nvmem cell
>
> This isn't kernel doc notation. It should be like
>
> nvmem_cell_write - Write to a given nvmem cell
Almost. Should be:
nvmem_cell_write() - Write to a given nvmem cell
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists