Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751521AbbHLUM5 (ORCPT ); Wed, 12 Aug 2015 16:12:57 -0400 Received: from mout.gmx.net ([212.227.17.20]:60702 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750716AbbHLUMz (ORCPT ); Wed, 12 Aug 2015 16:12:55 -0400 Message-ID: <55CBA8A6.7020404@gmx.de> Date: Wed, 12 Aug 2015 22:12:22 +0200 From: Hartmut Knaack User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: Markus Pargmann , Mark Brown , Jonathan Cameron CC: Srinivas Pandruvada , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Subject: Re: [PATCH 01/20] regmap: Add missing comments about struct regmap_bus References: <1439374365-20623-1-git-send-email-mpa@pengutronix.de> <1439374365-20623-2-git-send-email-mpa@pengutronix.de> In-Reply-To: <1439374365-20623-2-git-send-email-mpa@pengutronix.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:N1mSU6gagmNOh3roZGE/TSCySNjCxiZ+3M/nJtVhfXPeRA9R+JI fPxFyhYoLnVkDn2tDAQqqxggvhBYikXIp5rqxzqU8gpYGdiBsKy/mBmMgvqUePqiPfFrSKH DIxnMaJdaG0p8s3IRdoRoaxkF1Ute4kcV+8zitdL9QKMH6MZfBPCsh/pVDjtqY4Jzp7Y+87 GwZbVwFwm2GfsXyg1OVbQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:krKAirdBe50=:Mc8D5BIvyavVLXuJxLn3nw MNc2qb920gmLhMc6V7SxZAgcywkmqMQT/+2r4hbMq+yvOnpyeiTF9fssdUjodY8fY9Jh/L0YC yO1jVrx0L+qCk+EHEJJUKDI50sNLH4TRTnuh7piNYOsGDKrKcBxbWQJX6mzyi+IZEhe22MEFx jvfrgZZIMMzxHW8EgzPWuJServxbx627C+XEhETouJsvA3aKtDf4qeO0EJGHeBMP29sZAtveF YMEJ2qBn8V7ge2o3LO/1YwoSyvNghyUw94z9EvIjjOnKxpG31F74eSrm4pxrt9zDvTHD9PiV9 4v6rY+Drky7TnRRNGz3Iv48tXIEqrOlxXqXuRv1nYtzV+t4G5lrxRTfhhJDFzCeeWCZmBhL+B DyC+fsby6Zg294/qPSCKDbakYJ0LKewPKT+IWSCtWKMUb/iiJSh7S0OL8KpT80tkBOFdh12sT JgXL3hBeA+BWwCE/7N3wnBaT0yhsfbwOhZPaxks5hHw35BkXmYDCm0lTUgNio3SW3UO4eYziU rO+0DDLPl9yJtvntQVS9y/zo8AgY2lQXi3gAUoQbV/vl/gsfD6cDdgcjKMtKRVApATa7KyNb4 s095N8qdOjYX76SqA6YXOm1ED6MnGH3zdoKH6FkDLU1THv4vc2KyVjC8GYwBRWJeCbXv3Bru9 qFoeIo8gshf+xERTv5VYCbDR6H/du2OcZ8aDYgJHfeZ4ZjbUr0ABKs8utIiy9DRKSU8084gQ9 Y4wsg9fYSXN7Xza6L4WgrflpEcFFpNBngOiEaQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1849 Lines: 43 Markus Pargmann schrieb am 12.08.2015 um 12:12: > There are some fields of this struct undocumented or old. This patch > updates the missing comments. > > Signed-off-by: Markus Pargmann > --- > include/linux/regmap.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/include/linux/regmap.h b/include/linux/regmap.h > index 59c55ea0f0b5..6ff83c9ddb45 100644 > --- a/include/linux/regmap.h > +++ b/include/linux/regmap.h > @@ -296,8 +296,11 @@ typedef void (*regmap_hw_free_context)(void *context); > * if not implemented on a given device. > * @async_write: Write operation which completes asynchronously, optional and > * must serialise with respect to non-async I/O. > + * @reg_write: Write operation for a register. Writes value to register. > * @read: Read operation. Data is returned in the buffer used to transmit > * data. > + * @reg_read: Read operation for a register. Reads a value from a register. > + * @free_conetext: Free context. Typo: free_context > * @async_alloc: Allocate a regmap_async() structure. > * @read_flag_mask: Mask to be set in the top byte of the register when doing > * a read. > @@ -307,7 +310,6 @@ typedef void (*regmap_hw_free_context)(void *context); > * @val_format_endian_default: Default endianness for formatted register > * values. Used when the regmap_config specifies DEFAULT. If this is > * DEFAULT, BIG is assumed. > - * @async_size: Size of struct used for async work. > */ > struct regmap_bus { > bool fast_io; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/