]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit643dbb641b5bd3b947c7cecb2d05dd892fb5088d
tree670a447bb15c4c2666ec1fa5398a9f8a222132d5
parentc67f7432c6af803feef8ee5e350f2c4f250b51cf
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