summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-11 16:27:14 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-16 07:24:30 +0200
commite7b087fc6bb60234bb6d84d73b74c1e9cf03d5b7 (patch)
treed5c6db8b192ab84e84b1918cd2752d42c35d682e /drivers/misc
parent3617d9496cd92dcca4d0893191d95554590d8d9f (diff)
downloadlinux-rpi3-e7b087fc6bb60234bb6d84d73b74c1e9cf03d5b7.tar.gz
linux-rpi3-e7b087fc6bb60234bb6d84d73b74c1e9cf03d5b7.tar.bz2
linux-rpi3-e7b087fc6bb60234bb6d84d73b74c1e9cf03d5b7.zip
acpi/battery: simplify procfs code
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@lst.de> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions