summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorEmil Renner Berthing <emil.renner.berthing@canonical.com>2023-07-22 16:59:02 +0300
committerEmil Renner Berthing <emil.renner.berthing@canonical.com>2025-02-17 12:04:32 +0300
commitd509b3d765f97ae7a7caf15ddcd6721ba810d37d (patch)
treebf7270a4d4ccf0ef8145eb6e55c8c860f8fe72ca /rust/helpers/build_bug.c
parentb6c015c22a5a15ecd9d759af5cc34ad9ce11b5e5 (diff)
downloadlinux-d509b3d765f97ae7a7caf15ddcd6721ba810d37d.tar.xz
usb: cdns3: starfive: Simplify mode init
The syscon regmap and offset to the USB mode register is only used at probe time, so there is no need to store it in the device data. Just get the regmap pointer in the cdns_mode_init() function where it is needed. Also this function never uses the platform device, so just pass the device pointer directly. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions