fpga: region: separate out code that parses the overlay
authorAlan Tull <atull@kernel.org>
Wed, 15 Nov 2017 20:20:20 +0000 (14:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 15:30:37 +0000 (16:30 +0100)
commitc8898eda81e0b949ca214e1a45ce1b56677eb849
tree448d586adecd41d97ba4d2a2f1163f7979f781fe
parent61c32102391ff38dfd4aba835dd0f99db6b46908
fpga: region: separate out code that parses the overlay

New function of_fpga_region_parse_ov added, moving code
from fpga_region_notify_pre_apply.  This function
gets the FPGA image info from the overlay and is able
to simplify some of the logic involved.

This is a baby step in refactoring the FPGA region code to
separate out common code from Device Tree overlay 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