[PATCH 09/11] of: device: remove comment in of_dma_configure()

From
Nicolas Saenz Julienne <hidden>
Date
2019-09-24 18:13:11
Also in
dmaengine, dri-devel, linux-arm-kernel, linux-arm-msm, linux-devicetree, linux-media, linux-pci, linux-wireless, lkml, xen-devel
Reply to
Nicolas Saenz Julienne, 2019-09-24
It's not longer advised to use notifiers in order to setup custom DMA
ops.

Signed-off-by: Nicolas Saenz Julienne <redacted>
---

 drivers/of/device.c | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/drivers/of/device.c b/drivers/of/device.c
index 267b509df517..018c52688546 100644
--- a/drivers/of/device.c
+++ b/drivers/of/device.c
@@ -81,10 +81,6 @@ int of_device_add(struct platform_device *ofdev)
  *
  * Try to get devices's DMA configuration from DT and update it
  * accordingly.
- *
- * If platform code needs to use its own special DMA configuration, it
- * can use a platform bus notifier and handle BUS_NOTIFY_ADD_DEVICE events
- * to fix up DMA configuration.
  */
 int of_dma_configure(struct device *dev, struct device_node *np, bool force_dma)
 {
-- 
2.23.0
Thread (27 messages) 27 messages, 5 authors, last reply 2019-10-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help