Re: [PATCH v2 2/2] misc: enclosure: update sysfs api

From: Christoph Hellwig
Date: Thu May 25 2023 - 05:40:34 EST


On Wed, May 24, 2023 at 01:12:31PM +0200, Mariusz Tkaczyk wrote:
> Use DEVICE_ATTR RW and RO macros. Update function names accordingly.
> No functional changes intended.

The subject looks a bit, I'd say something like:

"enclosure: use DEVICE_ATTR_RW* macros"

instead.

The actual changes look good to me:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>