linux-stable/drivers/misc/sgi-xp
Luis Chamberlain b085dbf6c9 sgi-xp: simplify sysctl registration
Although this driver is a good use case for having a directory
that is not other directories and then subdirectories with more
entries, the usage of register_sysctl_table() can recurse and
increases complexity so to avoid that just split out the
registration to each directory with its own entries.

register_sysctl_table() is a deprecated compatibility wrapper.
register_sysctl() can do the directory creation for you so just use
that.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Link: https://lore.kernel.org/r/20230302204612.782387-6-mcgrof@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-09 17:32:13 +01:00
..
Makefile misc/sgi-xp: remove SGI SN2 support 2019-08-16 11:33:56 -07:00
xp.h drivers/misc/sgi-xp: Remove orphan declarations from drivers/misc/sgi-xp/xp.h 2022-09-24 14:57:19 +02:00
xp_main.c misc: sgi-xp: xp_main: make some symbols static 2021-03-28 14:39:26 +02:00
xp_uv.c x86/platform/uv: Update Copyrights to conform to HPE standards 2020-10-07 09:10:07 +02:00
xpc.h misc/sgi-xp: Replace in_interrupt() usage 2020-12-09 19:35:52 +01:00
xpc_channel.c sgi-xp: Replace spin_is_locked() with lockdep 2018-10-15 20:54:17 +02:00
xpc_main.c sgi-xp: simplify sysctl registration 2023-03-09 17:32:13 +01:00
xpc_partition.c misc/sgi-xp: Replace in_interrupt() usage 2020-12-09 19:35:52 +01:00
xpc_uv.c sgi-xp: xpc_uv: drop unexpected word "the" in the comments 2022-06-27 16:15:31 +02:00
xpnet.c sgi-xp: Use the bitmap API to allocate bitmaps 2022-07-08 15:41:39 +02:00