| commit | 155fee5924d4d62d67fb69a9ba00853cf2e1f19f | [log] [tgz] |
|---|---|---|
| author | TOKITA Hiroshi <tokita.hiroshi@gmail.com> | Thu Apr 04 08:19:48 2024 +0900 |
| committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Apr 10 10:01:25 2024 +0200 |
| tree | 236409c257b61ce46bfe904de70397926e48c396 | |
| parent | f8ddeed85c7c01d05a69e13d9d5c0738df338860 [diff] |
drivers: serial: pl011: Introduce macros to separate device-dependent code Introduce the `COMPAT_SPECIFIC_...` macros to determine the function name from the compatible name. These macros allow the isolation of device-dependent code in a generic way. For example, if the compatible name is `ambiq,uart`, The `COMPAT_SPECIFIC_DEFINE` macro is replaced by `AMBIQ_UART_DEFINE`. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>