Skip to content
Commit 814750d1 authored by Terry Geng's avatar Terry Geng Committed by Benjamin Cabé
Browse files

drivers: misc: pio_rpi_pico: Make `pio_rpi_pico_get_pio` inline.



The `pio` value is stored in the internal `pio_rpi_pico_config` structure
that is not exposed. However, it is the first element of the structure.
Here, I convert the pointer to `pio_rpi_pico_config` into a pointer to PIO
to access this value.

Signed-off-by: default avatarTerry Geng <terry@terriex.com>
parent 7837f5e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment