[PATCH v6 18/18] fpga: add attribute groups

2017-11-15 Thread Alan Tull
Make it easy to add attributes to low level FPGA drivers the right way. Add attribute groups pointers to structures that are used when registering a manager, bridge, or group. When the low level driver registers, set the device attribute group. The attributes are created in device_add.

[PATCH v6 18/18] fpga: add attribute groups

2017-11-15 Thread Alan Tull
Make it easy to add attributes to low level FPGA drivers the right way. Add attribute groups pointers to structures that are used when registering a manager, bridge, or group. When the low level driver registers, set the device attribute group. The attributes are created in device_add.