[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190608082707.GB9613@infradead.org>
Date: Sat, 8 Jun 2019 01:27:07 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Cc: Jens Axboe <axboe@...nel.dk>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dmitry Monakhov <dmtrmonakhov@...dex-team.ru>
Subject: Re: [PATCH] drivers/ata: cleanup creation of device sysfs attribute
On Fri, Jun 07, 2019 at 10:34:46AM +0300, Konstantin Khlebnikov wrote:
> This patch merges common ATA and AHCI specific attribute "sw_activity"
> into one group with ->is_visible() method which hides attributes if
> feature is not supported by hardware.
>
> This allows to add all attributes in one place without exporting
> each piece for linking into another list in ahci module.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Looks good,
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists