Skip to contentSkip to conversation

devfreq: Correct devm_devfreq_remove_device() documentation

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Jul 24, 2019 – Jul 25, 2019 Device frequency (devfreq)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devfreq: Correct devm_devfreq_remove_device() documentation

Correct the documentation for devm_devfreq_remove_device() argument.

---
 drivers/devfreq/devfreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/devfreq.c +1 -1
index 784c08e4f931..446490c9d635 100644
@@ -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)
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Krzysztof Kozlowski

Correct the documentation for devm_devfreq_remove_device() argument.

---
 drivers/devfreq/devfreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/devfreq.c +0 -0
index 784c08e4f931..446490c9d635 100644

drivers/devfreq/devfreq.c EXPORT_SYMBOL_GPL(devfreq_get_devfreq_by_phandle); · line 873

Quoted 8 lines
drivers/devfreq/devfreq.c +1 -1
@@ -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)
Signature · 3 lines
Best Regards,
Chanwoo Choi
Samsung Electronics