[PATCH v5 13/18] fpga: region: add register/unregister functions

2017-10-17 Thread Alan Tull
Another step in separating common code from device tree specific code for FPGA regions. * add FPGA region register/unregister functions. * add the register/unregister functions to the header * use devm_kzalloc to alloc the region. * add a method for getting bridges to the region struct * add priv

[PATCH v5 13/18] fpga: region: add register/unregister functions

2017-10-17 Thread Alan Tull
Another step in separating common code from device tree specific code for FPGA regions. * add FPGA region register/unregister functions. * add the register/unregister functions to the header * use devm_kzalloc to alloc the region. * add a method for getting bridges to the region struct * add priv