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

Rafael J. Wysocki rafael at kernel.org
Sun Apr 22 09:42:08 UTC 2018


On Thu, Apr 19, 2018 at 2:41 PM, Christoph Hellwig <hch at lst.de> 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 at lst.de>

It is OK AFAICS.

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>


More information about the devel mailing list