OSDN Git Service

scsi: simplify sysctl registration with register_sysctl()
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 2 Mar 2023 20:46:06 +0000 (12:46 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:20 +0000 (11:49 -0700)
commitca674057f36bcc42eea3832b8de5d0582615a472
treecc2cb97b90fd51a67a7a45c0a7d63e93c94a13e3
parentadf11ea8725bd7874b4aec6990c5807abcd5a00d
scsi: simplify sysctl registration with register_sysctl()

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>
drivers/scsi/scsi_sysctl.c