regmap: Add kerneldoc for struct regmap_config
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jul 2011 21:28:58 +0000 (22:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Aug 2011 06:47:00 +0000 (15:47 +0900)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regmap.h

index 60a65cd7e1a01baef9007e0c97d4aca1d6d04b7b..cf8e4cffd38677be8cebca3a25542adda54b6208 100644 (file)
 struct i2c_client;
 struct spi_device;
 
+/**
+ * Configuration for the register map of a device.
+ *
+ * @reg_bits: Number of bits in a register address, mandatory.
+ * @val_bits: Number of bits in a register value, mandatory.
+ */
 struct regmap_config {
        int reg_bits;
        int val_bits;