summaryrefslogtreecommitdiff
path: root/Documentation/driver-api/fpga/fpga-region.rst
diff options
context:
space:
mode:
authorAlan Tull <atull@kernel.org>2018-10-16 01:20:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-16 12:13:50 +0300
commitfea82b7f6670002ff36bf1bc77d0345b0b2f2d1c (patch)
treeeeed3d9f54d90d5f01ea84e1ebdd2d05b3553667 /Documentation/driver-api/fpga/fpga-region.rst
parent213befe049c70cfcfcbb4f6010bd5276dbc1f7b9 (diff)
downloadlinux-fea82b7f6670002ff36bf1bc77d0345b0b2f2d1c.tar.xz
fpga: add devm_fpga_region_create
Add devm_fpga_region_create() which is the managed version of fpga_region_create(). Change current region drivers to use devm_fpga_region_create(). Signed-off-by: Alan Tull <atull@kernel.org> Suggested-by: Federico Vaga <federico.vaga@cern.ch> Acked-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/driver-api/fpga/fpga-region.rst')
-rw-r--r--Documentation/driver-api/fpga/fpga-region.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-api/fpga/fpga-region.rst b/Documentation/driver-api/fpga/fpga-region.rst
index f30333ce828e..dc9f75cc3352 100644
--- a/Documentation/driver-api/fpga/fpga-region.rst
+++ b/Documentation/driver-api/fpga/fpga-region.rst
@@ -90,6 +90,9 @@ API to add a new FPGA region
:functions: fpga_region
.. kernel-doc:: drivers/fpga/fpga-region.c
+ :functions: devm_fpga_region_create
+
+.. kernel-doc:: drivers/fpga/fpga-region.c
:functions: fpga_region_create
.. kernel-doc:: drivers/fpga/fpga-region.c