diff options
author | Sui Jingfeng <[email protected]> | 2023-08-09 06:34:08 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-08-23 17:19:14 -0500 |
commit | 4582db1d0a41ed07de140a8bfe8e802749579563 (patch) | |
tree | 5fdb1f0b57e904e01a8fb5c3376a424304116546 /drivers/usb/cdns3/cdns3-imx.c | |
parent | b421364a905e05d62f889786d25954c5a4128c80 (diff) |
PCI/VGA: Simplify vga_client_register()
Reorganize vga_client_register() to avoid the goto and the need to save the
return value. Update the kernel-doc to reflect -ENODEV on failure. No
functional change intended.
[bhelgaas: drop "ret" variable, commit log]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sui Jingfeng <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions