fpga: region: add fpga_region_class_find
authorAlan Tull <atull@kernel.org>
Wed, 15 Nov 2017 20:20:24 +0000 (14:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 15:30:38 +0000 (16:30 +0100)
commit503d4b7a446b3838785fa7f21e339941a5d1c2d5
tree7647ec3740241624156eaa4f22b7e4b90ab39ecf
parent52a3a7ccce07e73323fc1bae9eb0b0b63375391c
fpga: region: add fpga_region_class_find

Add a function for searching the fpga-region class.  This
will be useful when device tree code is no longer in the
same file that declares the fpga-region class.  Another
step in separating common FPGA region code from device
tree support.

Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/fpga-region.c
include/linux/fpga/fpga-region.h