PM / devfreq: Correct devm_devfreq_remove_device() documentation
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 24 Jul 2019 18:59:53 +0000 (20:59 +0200)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Sun, 25 Aug 2019 03:45:34 +0000 (12:45 +0900)
Correct the documentation for devm_devfreq_remove_device() argument.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c

index 784c08e4f931979c9c255efe0cb0c3e30bbcc702..446490c9d635347d1b36634e4f6895d23e1fff3a 100644 (file)
@@ -867,7 +867,7 @@ EXPORT_SYMBOL_GPL(devfreq_get_devfreq_by_phandle);
 
 /**
  * devm_devfreq_remove_device() - Resource-managed devfreq_remove_device()
- * @dev:       the device to add devfreq feature.
+ * @dev:       the device from which to remove devfreq feature.
  * @devfreq:   the devfreq instance to be removed
  */
 void devm_devfreq_remove_device(struct device *dev, struct devfreq *devfreq)