fpga: dfl: make uinit callback optional
authorWu Hao <hao.wu@intel.com>
Sun, 4 Aug 2019 10:20:18 +0000 (18:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2019 16:02:18 +0000 (18:02 +0200)
commit3c51ff772278d291117dae9cad09ddef07e0d504
tree614e5107f11e371c7b466e8beab92cfd9625f36c
parent15bbb300fcef4e62e4f6063cc29e698796027b98
fpga: dfl: make uinit callback optional

This patch makes uinit callback of sub features optional. With
this change, people don't need to prepare any empty uinit callback.

Signed-off-by: Wu Hao <hao.wu@intel.com>
Link: https://lore.kernel.org/r/1564914022-3710-9-git-send-email-hao.wu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/dfl.c