On Tue, 2018-08-14 at 09:33 +0200, Hannes Reinecke wrote:> Use new-style DEVICE_ATTR_RO/DEVICE_ATTR_RW to create the sysfs attributes> and register the disk with default sysfs attribute groups.Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>