usb: misc: onboard_hub: rename to onboard_dev
authorJavier Carrasco <javier.carrasco@wolfvision.net>
Mon, 25 Mar 2024 09:15:12 +0000 (10:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2024 06:57:16 +0000 (07:57 +0100)
commit31e7f6c015d9eb35e77ae9868801c53ab0ff19ac
tree2105b9a3054fd6ea89a91ebb97d4cb66454928a3
parentec1848cd5df426f57a7f6a8a6b95b69259c52cfc
usb: misc: onboard_hub: rename to onboard_dev

This patch prepares onboad_hub to support non-hub devices by renaming
the driver files and their content, the headers and their references.

The comments and descriptions have been slightly modified to keep
coherence and account for the specific cases that only affect onboard
hubs (e.g. peer-hub).

The "hub" variables in functions where "dev" (and similar names) variables
already exist have been renamed to onboard_dev for clarity, which adds a
few lines in cases where more than 80 characters are used.

No new functionality has been added.

Acked-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20240325-onboard_xvf3500-v8-2-29e3f9222922@wolfvision.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 files changed:
Documentation/ABI/testing/sysfs-bus-platform-onboard-usb-dev [new file with mode: 0644]
Documentation/ABI/testing/sysfs-bus-platform-onboard-usb-hub [deleted file]
MAINTAINERS
drivers/usb/core/Makefile
drivers/usb/core/hub.c
drivers/usb/core/hub.h
drivers/usb/misc/Kconfig
drivers/usb/misc/Makefile
drivers/usb/misc/onboard_usb_dev.c [new file with mode: 0644]
drivers/usb/misc/onboard_usb_dev.h [new file with mode: 0644]
drivers/usb/misc/onboard_usb_dev_pdevs.c [new file with mode: 0644]
drivers/usb/misc/onboard_usb_hub.c [deleted file]
drivers/usb/misc/onboard_usb_hub.h [deleted file]
drivers/usb/misc/onboard_usb_hub_pdevs.c [deleted file]
include/linux/usb/onboard_dev.h [new file with mode: 0644]
include/linux/usb/onboard_hub.h [deleted file]