hothd: Pass usb-device to USB helper scripts

When sourcing helper scripts from .../hothd/usb-config/*.sh,
provide the current USB device (provided by udev) as the first argument
to the script.

This allows simplification of those sourced scripts and improved
maintainability.

Google-Bug-Id: 413123154
Change-Id: Ia094c961ddcf93464b3a50e32ba810936f616551
Signed-off-by: Tom Craig <craigt@google.com>
1 file changed