diff options
| author | Jerome Brunet <jbrunet@baylibre.com> | 2025-06-19 23:46:03 -0700 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2025-06-20 00:15:06 -0700 |
| commit | b06ba1c353b80367804b9ca7d7dbb9b6ea3aec33 (patch) | |
| tree | f7128f30b141fc6ecf9bb07f74870ff51b08567a /rust/helpers/helpers.c | |
| parent | clk: add a clk_hw helpers to get the clock device or device_node (diff) | |
| download | linux-b06ba1c353b80367804b9ca7d7dbb9b6ea3aec33.tar.gz linux-b06ba1c353b80367804b9ca7d7dbb9b6ea3aec33.zip | |
clk: tests: Make clk_register_clk_parent_data_device_driver() common
Rename clk_register_clk_parent_data_device_driver() to
kunit_of_platform_driver_dev() and have it return a struct device
pointer while accepting a match table. This will be useful to
find the device associated with an OF node for more tests than
only the clk_parent_data tests.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
[sboyd@kernel.org: Split out from next patch, carry SoB and
authorship, rename API, return device pointer]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
