fpga: dfl: make init callback optional
authorWu Hao <hao.wu@intel.com>
Mon, 12 Aug 2019 02:49:56 +0000 (10:49 +0800)
committerMoritz Fischer <mdf@kernel.org>
Wed, 4 Sep 2019 02:35:40 +0000 (19:35 -0700)
commit84b693e3786b92d2e7bb9108ca187253ffd02115
tree670a447bb15c4c2666ec1fa5398a9f8a222132d5
parentaf9ca4b0bd0502bb134f18d394a613be371d2352
fpga: dfl: make init callback optional

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

Signed-off-by: Wu Hao <hao.wu@intel.com>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
drivers/fpga/dfl.c