aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-10-17 22:44:49 +0200
committerGreg Kroah-Hartman <[email protected]>2023-10-21 12:47:24 +0200
commit49537ec71d14312d89217a6257be32a97253563e (patch)
treec2dc4426ba675005d78f068c1726d3339f335325 /scripts/generate_rust_analyzer.py
parentb4822e2317e8ffb20351ccad544b04d04edc460a (diff)
usb: gadget: r8a66597-udc: Convert to use module_platform_driver()
module_platform_driver_probe() has the advantage that the .probe() and .remove() calls can live in .init.text and .exit.text respectively and so some memory is saved. The downside is that dynamic bind and unbind are impossible. As the driver doesn't benefit from the advantages (both .probe and .remove are defined in plain .text), stop suffering from the downsides and use module_platform_driver() instead of module_platform_driver_probe(). Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions