From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f196.google.com ([74.125.82.196]:34674 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbeDVJmK (ORCPT ); Sun, 22 Apr 2018 05:42:10 -0400 MIME-Version: 1.0 In-Reply-To: <20180419124140.9309-16-hch@lst.de> References: <20180419124140.9309-1-hch@lst.de> <20180419124140.9309-16-hch@lst.de> From: "Rafael J. Wysocki" Date: Sun, 22 Apr 2018 11:42:08 +0200 Message-ID: Subject: Re: [PATCH 15/39] acpi/battery: simplify procfs code To: Christoph Hellwig Cc: Andrew Morton , Alexander Viro , Alexey Dobriyan , Greg Kroah-Hartman , Jiri Slaby , Corey Minyard , Alessandro Zummo , Alexandre Belloni , ACPI Devel Maling List , drbd-dev@lists.linbit.com, linux-ide@vger.kernel.org, netdev , linux-rtc@vger.kernel.org, megaraidlinux.pdl@broadcom.com, "open list:TARGET SUBSYSTEM" , devel@driverdev.osuosl.org, linux-afs@lists.infradead.org, Ext4 Developers List , jfs-discussion@lists.sourceforge.net, netfilter-devel@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-rtc-owner@vger.kernel.org List-ID: On Thu, Apr 19, 2018 at 2:41 PM, Christoph Hellwig 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 It is OK AFAICS. Reviewed-by: Rafael J. Wysocki