device property: Convert device_{dma_supported,get_dma_attr} to fwnode
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 31 Mar 2022 12:54:47 +0000 (15:54 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Apr 2022 13:30:47 +0000 (15:30 +0200)
commit8c756a0a2de17f1535ef885ac7e556e016735eb2
tree3ad80ce7e9c6bcb7ed5adf30a1ad8124c6e1989b
parent3123109284176b1532874591f7c81f3837bbdc17
device property: Convert device_{dma_supported,get_dma_attr} to fwnode

Make the device_dma_supported and device_get_dma_attr functions to use the
fwnode ops, and move the implementation to ACPI and OF frameworks.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/property.c
drivers/base/property.c
drivers/of/property.c
include/linux/fwnode.h