diff options
| author | Igor Korotin <igor.korotin.linux@gmail.com> | 2025-06-20 18:41:24 +0300 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2025-06-27 00:26:15 +0300 |
| commit | ec3ef2175e16360605c7e1b409ceaa77be6521a8 (patch) | |
| tree | 63ac3618dbe260afc815aa629223b80e9b6e8bb4 /rust/helpers/workqueue.c | |
| parent | 7a5cb145a9ce844be41ca5ed26e7d8d7c41dec7d (diff) | |
| download | linux-ec3ef2175e16360605c7e1b409ceaa77be6521a8.tar.xz | |
rust: platform: Set `OF_ID_TABLE` default to `None` in `Driver` trait
Provide a default value of `None` for `Driver::OF_ID_TABLE` to simplify
driver implementations.
Drivers that do not require OpenFirmware matching no longer need to
import the `of` module or define the constant explicitly.
This reduces unnecessary boilerplate and avoids pulling in unused
dependencies.
Signed-off-by: Igor Korotin <igor.korotin.linux@gmail.com>
Link: https://lore.kernel.org/r/20250620154124.297158-1-igor.korotin.linux@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
