linux/drivers
David Howells a8ca16ea7b proc: Supply a function to remove a proc entry by PDE
Supply a function (proc_remove()) to remove a proc entry (and any subtree
rooted there) by proc_dir_entry pointer rather than by name and (optionally)
root dir entry pointer.  This allows us to eliminate all remaining pde->name
accesses outside of procfs.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Grant Likely <grant.likely@linaro.or>
cc: linux-acpi@vger.kernel.org
cc: openipmi-developer@lists.sourceforge.net
cc: devicetree-discuss@lists.ozlabs.org
cc: linux-pci@vger.kernel.org
cc: netdev@vger.kernel.org
cc: netfilter-devel@vger.kernel.org
cc: alsa-devel@alsa-project.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-05-01 17:29:46 -04:00
..
accessibility
acpi proc: Supply a function to remove a proc entry by PDE 2013-05-01 17:29:46 -04:00
amba ARM: 7675/1: amba: tegra-ahb: Fix build error w/ PM_SLEEP w/o PM_RUNTIME 2013-03-15 17:20:02 +00:00
ata sata_svw: switch to ->show_info() 2013-04-09 14:13:28 -04:00
atm hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
auxdisplay
base ACPI and power management fixes for 3.9-rc2 2013-03-07 14:54:28 -08:00
bcma Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2013-03-01 13:52:03 -05:00
block procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth 2013-03-18 15:17:11 -04:00
bus
cdrom
char proc: Supply a function to remove a proc entry by PDE 2013-05-01 17:29:46 -04:00
clk clk: vt8500: Fix "fix device clock divisor calculations" 2013-03-14 22:34:26 +01:00
clocksource ImgTec Meta architecture changes for v3.9-rc1 2013-03-03 12:06:09 -08:00
connector proc connector: reject unprivileged listener bumps 2013-02-27 13:08:35 -05:00
cpufreq cpufreq / intel_pstate: Do not load on VM that does not report max P state. 2013-03-06 23:40:11 +01:00
cpuidle
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2013-02-25 15:56:15 -08:00
dca dca: convert to idr_alloc() 2013-02-27 19:10:15 -08:00
devfreq
dio
dma Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2013-03-03 10:20:22 -08:00
edac EDAC: Merge mci.mem_is_per_rank with mci.csbased 2013-03-16 06:32:30 +01:00
eisa
extcon
firewire firewire: convert to idr_alloc() 2013-02-27 19:10:15 -08:00
firmware Include missing linux/magic.h inclusions 2013-04-29 15:42:01 -04:00
gpio Here are a few pinctrl fixes for the v3.9 rc series: 2013-03-24 10:11:29 -07:00
gpu drm: proc: Use remove_proc_subtree() 2013-05-01 17:29:44 -04:00
hid Merge branch 'for-3.9/upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2013-03-08 14:42:52 -08:00
hsi hsi: fix kernel-doc warnings 2013-03-01 13:39:00 -08:00
hv Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts 2013-02-27 10:15:53 -08:00
hwmon hwmon: (lm75.h) Update header inclusion 2013-03-18 21:19:49 +01:00
hwspinlock
i2c Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-03-23 12:32:14 -07:00
ide procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
idle Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-02-22 19:25:09 -08:00
iio First round of iio fixes post the 3.9 merge window. 2013-03-06 05:48:24 +08:00
infiniband Small batch of InfiniBand/RDMA fixes for 3.9: 2013-03-25 09:44:40 -07:00
input hp_sdc_rtc: Don't use create_proc_read_entry() 2013-04-29 15:41:54 -04:00
iommu iommu, x86: Add DMA remap fault reason 2013-03-06 09:41:51 +01:00
ipack
irqchip irqchip: fix typo when moving gic_raise_softirq() 2013-03-04 17:15:33 -08:00
isdn mISDN: grabbing/dropping reference to THIS_MODULE in open/release is racy 2013-04-29 15:41:49 -04:00
leds Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds 2013-02-26 09:29:02 -08:00
lguest All trivial, thanks to the stuff which didn't quite make it time. 2013-02-26 14:49:12 -08:00
macintosh procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
mailbox mailbox, pl320-ipc: remove __init from probe function 2013-03-04 14:23:11 +01:00
md A few bugfixes for md 2013-03-23 15:49:49 -07:00
media zoran: Don't print proc_dir_entry data in debug 2013-05-01 17:29:43 -04:00
memory
memstick memstick: move the dereference below the NULL test 2013-02-27 19:10:23 -08:00
message proc: Add proc_mkdir_data() 2013-05-01 17:29:41 -04:00
mfd mfd: twl4030-madc: Remove __exit_p annotation 2013-03-15 07:42:22 +01:00
misc proc: Supply a function to remove a proc entry by PDE 2013-05-01 17:29:46 -04:00
mmc Merge branches 'devel-stable', 'fixes' and 'mmci' into for-linus 2013-03-03 00:32:50 +00:00
mtd Include missing linux/slab.h inclusions 2013-04-29 15:42:01 -04:00
net hostap: proc: Use remove_proc_subtree() 2013-05-01 17:29:45 -04:00
nfc
ntb
nubus nubus: Don't use create_proc_read_entry() 2013-04-29 15:41:54 -04:00
of proc: Supply a function to remove a proc entry by PDE 2013-05-01 17:29:46 -04:00
oprofile fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
parisc procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
parport
pci proc: Supply a function to remove a proc entry by PDE 2013-05-01 17:29:46 -04:00
pcmcia
pinctrl Here are a few pinctrl fixes for the v3.9 rc series: 2013-03-24 10:11:29 -07:00
platform procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
pnp proc: Supply PDE attribute setting accessor functions 2013-05-01 17:29:18 -04:00
power power: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
pps Include missing linux/slab.h inclusions 2013-04-29 15:42:01 -04:00
ps3
ptp
pwm pwm: Changes for v3.9-rc1 2013-02-26 09:34:29 -08:00
rapidio
regulator Merge remote-tracking branch 'regulator/fix/twl' into tmp 2013-03-05 10:12:43 +08:00
remoteproc remoteproc: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
rpmsg rpmsg: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
rtc procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
s390 constify a bunch of struct file_operations instances 2013-04-09 14:16:20 -04:00
sbus Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
scsi proc: Supply an accessor for getting the data from a PDE's parent 2013-05-01 17:29:42 -04:00
sfi
sh
sn
spi
ssb
staging proc: Supply an accessor for getting the data from a PDE's parent 2013-05-01 17:29:42 -04:00
target tcm: switch to ->show_info() 2013-04-09 14:13:19 -04:00
tc
thermal thermal: exynos_thermal: return a proper error code while thermal_zone_device_register fail. 2013-03-11 23:09:29 +08:00
tty procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
uio uio: convert to idr_alloc() 2013-02-27 19:10:19 -08:00
usb fsl_udc: Don't use create_proc_read_entry() 2013-04-29 15:41:53 -04:00
uwb
vfio vfio: include <linux/slab.h> for kmalloc 2013-03-15 12:58:20 -06:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2013-03-23 16:51:55 -07:00
video pxa3xx-gcu: stop embedding file_operations into device-private object 2013-04-09 14:16:40 -04:00
virt
virtio All trivial, thanks to the stuff which didn't quite make it time. 2013-02-26 14:49:12 -08:00
vlynq
vme
w1 w1: fix oops when w1_search is called from netlink connector 2013-03-12 16:20:46 -07:00
watchdog watchdog: sp5100_tco: Set the AcpiMmioSel bitmask value to 1 instead of 2 2013-03-22 23:21:55 +01:00
xen Fixes: 2013-03-12 20:25:53 -07:00
zorro proc: Supply PDE attribute setting accessor functions 2013-05-01 17:29:18 -04:00
Kconfig
Makefile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-02-23 17:09:55 -08:00