fpga: dfl: afu: convert platform_driver to use dev_groups
authorWu Hao <hao.wu@intel.com>
Mon, 12 Aug 2019 02:49:58 +0000 (10:49 +0800)
committerMoritz Fischer <mdf@kernel.org>
Wed, 4 Sep 2019 02:35:41 +0000 (19:35 -0700)
commita80a4b82e7d8cf71bf495bda92072d1397b790a1
tree05e00b0021564f246e3dc0195d00bc98e7a15a1a
parent084c3ff1b1d29300e5117f145ec6104ed2fd6b46
fpga: dfl: afu: convert platform_driver to use dev_groups

This patch takes advantage of driver core which helps to create
and remove sysfs attribute files, so there is no need to register
sysfs entries manually in dfl-afu platform river code.

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-afu-main.c