fpga: fpga-mgr: ice40-spi: Simplify registration
authorMoritz Fischer <mdf@kernel.org>
Sun, 15 Nov 2020 19:51:21 +0000 (11:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2020 17:49:32 +0000 (18:49 +0100)
commit7027b7305d16f7b4db36139cc0c063e5d2fd216d
tree7e9c16079155e1f404638525c430366bef5058fd
parent83eb4fbdcfda8b8e9a5c74c1d27e280183f1a77b
fpga: fpga-mgr: ice40-spi: Simplify registration

Simplify registration using new devm_fpga_mgr_register() API.

Reviewed-by: Tom Rix <trix@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20201115195127.284487-5-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/ice40-spi.c