aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2025-07-09 14:38:58 +0000
committerLinus Walleij <[email protected]>2025-07-19 15:59:48 +0000
commit431b68ae73566125e498a6b95b44afc3325c2f18 (patch)
treee1c35f8ecb735128a87f9fd3f44ca7c758101c94 /rust/macros
parentpinctrl: pinmux: open-code PINCTRL_FUNCTION_DESC() (diff)
downloadkernel-431b68ae73566125e498a6b95b44afc3325c2f18.tar.gz
kernel-431b68ae73566125e498a6b95b44afc3325c2f18.zip
pinctrl: provide pinmux_generic_add_pinfunction()
Several drivers call pinmux_generic_add_function() passing it the contents of struct pinfunction as first three arguments. We can make this shorter by simply providing an interface allowing to pass the address of struct pinfunction directly when adding a new function. Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'rust/macros')
0 files changed, 0 insertions, 0 deletions