Re: [PATCH 15/39] acpi/battery: simplify procfs code

From: Rafael J. Wysocki
Date: Sun Apr 22 2018 - 05:42:31 EST


On Thu, Apr 19, 2018 at 2:41 PM, Christoph Hellwig <hch@xxxxxx> wrote:
> Use remove_proc_subtree to remove the whole subtree on cleanup, and
> unwind the registration loop into individual calls. Switch to use
> proc_create_seq where applicable.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

It is OK AFAICS.

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>