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 60a65cd..cf8e4cf 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;