csky: simplify alignment sysctl registration
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 2 Mar 2023 20:28:25 +0000 (12:28 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:20 +0000 (11:49 -0700)
commitadf11ea8725bd7874b4aec6990c5807abcd5a00d
treec26707275dc9a17da72fb395a7475923fadd57eb
parent02a6b455fb35d29620ceaa0ed053ae9846f875ca
csky: simplify alignment sysctl registration

Using register_sysctl_paths() is only required if we are using
leafs with entries but all we are doing is creates leafs with
just one leaf and then entries and register_sysctl_init() works
well with that already.

The 555 permission is already retained by the new_dir() proc
sysctl directory creator.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
arch/csky/abiv1/alignment.c