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

"Rafael J. Wysocki" <[email protected]> Sun, 22 Apr 2018 11:42:08 +0200
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <CAJZ5v0gRw8P8KL12QKMuSjyePxWn71LB+s8ephF2a4-Ns234NQ__2629.89243860847$1524489793$gmane$org@mail.gmail.com>
On Thu, Apr 19, 2018 at 2:41 PM, Christoph Hellwig <[email protected]> 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 <[email protected]>

It is OK AFAICS.

Reviewed-by: Rafael J. Wysocki <[email protected]>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot