Re: [PATCH] scsi_debug: simplify creation and destruction of driver attribute files

2013-11-03 Thread Douglas Gilbert
On 13-10-14 09:48 AM, Akinobu Mita wrote: Instead of repeatedly calling driver_create_file() to create driver attribute files, This achieves the same thing by constructing an array of driver_attribute and setting it to bus_type->drv_groups. This change simplifies both creation and destruction of

[PATCH] scsi_debug: simplify creation and destruction of driver attribute files

2013-10-14 Thread Akinobu Mita
Instead of repeatedly calling driver_create_file() to create driver attribute files, This achieves the same thing by constructing an array of driver_attribute and setting it to bus_type->drv_groups. This change simplifies both creation and destruction of the attribute files, and also removes spars