aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynqmp-fpga.c
diff options
context:
space:
mode:
authorLuis Chamberlain <[email protected]>2023-03-02 20:46:10 +0000
committerGreg Kroah-Hartman <[email protected]>2023-03-09 16:32:13 +0000
commitb085dbf6c955c34f735cac433f8551832138e154 (patch)
tree54bca5d5835627249a7f363789946ab61166d0bc /drivers/fpga/zynqmp-fpga.c
parentmisc: sram: Improve and simplify clk handling (diff)
downloadkernel-b085dbf6c955c34f735cac433f8551832138e154.tar.gz
kernel-b085dbf6c955c34f735cac433f8551832138e154.zip
sgi-xp: simplify sysctl registration
Although this driver is a good use case for having a directory that is not other directories and then subdirectories with more entries, the usage of register_sysctl_table() can recurse and increases complexity so to avoid that just split out the registration to each directory with its own entries. 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 <[email protected]> Reviewed-by: Steve Wahl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions