s390: simplify one-level sysctl registration for topology_ctl_table
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 23:45:20 +0000 (15:45 -0800)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 09:56:48 +0000 (10:56 +0100)
commit0599331c3da6dbbe814262079f6b0c4f3575fd5d
tree7957a8069e832473c4ef0dece8a767b1717d2154
parent45e5f0c017e0d0dabb952db63428e31eca6be87e
s390: simplify one-level sysctl registration for topology_ctl_table

There is no need to declare an extra tables to just create directory,
this can be easily be done with a prefix path with register_sysctl().

Simplify this registration.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20230310234525.3986352-2-mcgrof@kernel.org
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/topology.c