diff options
author | Herve Codina <herve.codina@bootlin.com> | 2023-10-17 14:02:17 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-10-26 17:07:14 +0300 |
commit | 3eb030c60835668997d5763b1a0c7938faf169f6 (patch) | |
tree | 5a09eca3a92fbe6e4022b9cbeb8f30351a634a4e /drivers/of/unittest-data | |
parent | 42604f8eb7ba04b589375049cc76282dad4677d2 (diff) | |
download | linux-3eb030c60835668997d5763b1a0c7938faf169f6.tar.xz |
of: address: Remove duplicated functions
The recently added of_bus_default_flags_translate() performs the exact
same operation as of_bus_pci_translate() and of_bus_isa_translate().
Avoid duplicated code replacing both of_bus_pci_translate() and
of_bus_isa_translate() with of_bus_default_flags_translate().
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20231017110221.189299-3-herve.codina@bootlin.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/unittest-data')
0 files changed, 0 insertions, 0 deletions