Skip to content
Commit adf11ea8 authored by Luis Chamberlain's avatar Luis Chamberlain
Browse files

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: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 02a6b455
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment