]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hv: simplify sysctl registration
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 2 Mar 2023 20:46:08 +0000 (12:46 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:20 +0000 (11:49 -0700)
commit525f23fe58b59b3a78a7044916aed9fe26918296
treee5a0568b14999339ccd65fa4b75468bf7b97568f
parentca674057f36bcc42eea3832b8de5d0582615a472
hv: simplify sysctl registration

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: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c