]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6696ff648bf0c214283beac6d1874fdef6ac22ed
tree3ad80ce7e9c6bcb7ed5adf30a1ad8124c6e1989b
parentdbb008736a8c113ef1e12b4e4b4351fac2a15ede
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