Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: spi: remove '&' when assigning init_fn #75539

Commits on Jul 6, 2024

  1. drivers: spi: remove '&' when assigning init_fn

    Remove address-of operator ('&') when assigning `init_fn`
    function pointer in `DEVICE_DT_INST_DEFINE` macro.
    
    This change aims to maintain consistency among the drivers in
    `drivers/spi`, ensuring that all function pointer assignments
    follow the same pattern.
    
    Signed-off-by: Pisit Sawangvonganan <[email protected]>
    ndrs-pst committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    ecb28a4 View commit details
    Browse the repository at this point in the history