fpga: altera-cvp: remove DRIVER_ATTR() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:17:36 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2017 07:20:33 +0000 (09:20 +0200)
commit55e001aabb826c96f09e0a440bdcbce620189dbc
tree783295f836b5bb630d3744f7984a0ba3efb4d1ea
parentbf563b01c2895a4bfd1a29cc5abc67fe706ecffd
fpga: altera-cvp: remove DRIVER_ATTR() usage

It's better to be explicit and use the DRIVER_ATTR_RW() macro when
defining a driver's sysfs file.

This is part of a series to drop DRIVER_ATTR() from the tree entirely.

Cc: linux-fpga@vger.kernel.org
Reviewed-by: Moritz Fischer <mdf@kernel.org>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/altera-cvp.c