Эх сурвалжийг харах

regulator: Fix comments in include/linux/regulator/machine.h

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin 13 жил өмнө
parent
commit
15c08f664d

+ 3 - 5
include/linux/regulator/machine.h

@@ -71,7 +71,7 @@ struct regulator_state {
  * @uV_offset: Offset applied to voltages from consumer to compensate for
  * @uV_offset: Offset applied to voltages from consumer to compensate for
  *             voltage drops.
  *             voltage drops.
  *
  *
- * @min_uA: Smallest consumers consumers may set.
+ * @min_uA: Smallest current consumers may set.
  * @max_uA: Largest current consumers may set.
  * @max_uA: Largest current consumers may set.
  *
  *
  * @valid_modes_mask: Mask of modes which may be configured by consumers.
  * @valid_modes_mask: Mask of modes which may be configured by consumers.
@@ -134,10 +134,8 @@ struct regulation_constraints {
 /**
 /**
  * struct regulator_consumer_supply - supply -> device mapping
  * struct regulator_consumer_supply - supply -> device mapping
  *
  *
- * This maps a supply name to a device.  Only one of dev or dev_name
- * can be specified.  Use of dev_name allows support for buses which
- * make struct device available late such as I2C and is the preferred
- * form.
+ * This maps a supply name to a device. Use of dev_name allows support for
+ * buses which make struct device available late such as I2C.
  *
  *
  * @dev_name: Result of dev_name() for the consumer.
  * @dev_name: Result of dev_name() for the consumer.
  * @supply: Name for the supply.
  * @supply: Name for the supply.