proc: convert everything to "struct proc_ops"
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 4 Feb 2020 01:37:17 +0000 (17:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 4 Feb 2020 03:05:26 +0000 (03:05 +0000)
commit97a32539b9568bb653683349e5a76d02ff3c3e2c
tree011bf2fcce652c57aff2fff99a4e5b350d2566ab
parentd56c0d45f0e27f814e87a1676b6bdccccbc252e9
proc: convert everything to "struct proc_ops"

The most notable change is DEFINE_SHOW_ATTRIBUTE macro split in
seq_file.h.

Conversion rule is:

llseek => proc_lseek
unlocked_ioctl => proc_ioctl

xxx => proc_xxx

delete ".owner = THIS_MODULE" line

[akpm@linux-foundation.org: fix drivers/isdn/capi/kcapi_proc.c]
[sfr@canb.auug.org.au: fix kernel/sched/psi.c]
Link: http://lkml.kernel.org/r/20200122180545.36222f50@canb.auug.org.au
Link: http://lkml.kernel.org/r/20191225172546.GB13378@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
100 files changed:
arch/alpha/kernel/srm_env.c
arch/arm/kernel/atags_proc.c
arch/arm/mm/alignment.c
arch/ia64/kernel/salinfo.c
arch/m68k/kernel/bootinfo_proc.c
arch/mips/lasat/picvue_proc.c
arch/powerpc/kernel/proc_powerpc.c
arch/powerpc/kernel/rtas-proc.c
arch/powerpc/kernel/rtas_flash.c
arch/powerpc/kernel/rtasd.c
arch/powerpc/mm/numa.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/lparcfg.c
arch/powerpc/platforms/pseries/reconfig.c
arch/powerpc/platforms/pseries/scanlog.c
arch/sh/mm/alignment.c
arch/sparc/kernel/led.c
arch/um/drivers/mconsole_kern.c
arch/um/kernel/exitcode.c
arch/um/kernel/process.c
arch/x86/kernel/cpu/mtrr/if.c
arch/x86/platform/uv/tlb_uv.c
arch/xtensa/platforms/iss/simdisk.c
drivers/acpi/battery.c
drivers/acpi/proc.c
drivers/hwmon/dell-smm-hwmon.c
drivers/ide/ide-proc.c
drivers/input/input.c
drivers/isdn/capi/kcapi_proc.c
drivers/macintosh/via-pmu.c
drivers/md/md.c
drivers/misc/sgi-gru/gruprocfs.c
drivers/net/wireless/cisco/airo.c
drivers/net/wireless/intel/ipw2x00/libipw_module.c
drivers/net/wireless/intersil/hostap/hostap_hw.c
drivers/net/wireless/intersil/hostap/hostap_proc.c
drivers/net/wireless/intersil/hostap/hostap_wlan.h
drivers/net/wireless/ray_cs.c
drivers/parisc/led.c
drivers/pci/proc.c
drivers/platform/x86/thinkpad_acpi.c
drivers/platform/x86/toshiba_acpi.c
drivers/pnp/isapnp/proc.c
drivers/pnp/pnpbios/proc.c
drivers/s390/block/dasd_proc.c
drivers/s390/cio/blacklist.c
drivers/s390/cio/css.c
drivers/scsi/esas2r/esas2r_main.c
drivers/scsi/scsi_devinfo.c
drivers/scsi/scsi_proc.c
drivers/scsi/sg.c
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
drivers/tty/sysrq.c
drivers/usb/gadget/function/rndis.c
drivers/video/fbdev/via/viafbdev.c
drivers/zorro/proc.c
fs/cifs/cifs_debug.c
fs/cifs/dfs_cache.c
fs/cifs/dfs_cache.h
fs/fscache/internal.h
fs/fscache/object-list.c
fs/fscache/proc.c
fs/jbd2/journal.c
fs/jfs/jfs_debug.c
fs/lockd/procfs.c
fs/nfsd/nfsctl.c
fs/nfsd/stats.c
fs/proc/cpuinfo.c
fs/proc/kcore.c
fs/proc/kmsg.c
fs/proc/page.c
fs/proc/stat.c
fs/proc/vmcore.c
include/linux/seq_file.h
include/linux/sunrpc/stats.h
ipc/util.c
kernel/configs.c
kernel/irq/proc.c
kernel/kallsyms.c
kernel/latencytop.c
kernel/locking/lockdep_proc.c
kernel/module.c
kernel/profile.c
kernel/sched/psi.c
mm/slab_common.c
mm/swapfile.c
net/atm/mpoa_proc.c
net/atm/proc.c
net/core/pktgen.c
net/ipv4/ipconfig.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/route.c
net/netfilter/xt_recent.c
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/cache.c
net/sunrpc/stats.c
samples/kfifo/bytestream-example.c
samples/kfifo/inttype-example.c
samples/kfifo/record-example.c
sound/core/info.c