diff options
author | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2025-03-05 15:43:15 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-03-11 01:12:37 +0530 |
commit | 97e8a2ff28a3dc36ca3cdc94f37359852d7e1c8b (patch) | |
tree | 42af6bd55cb7f7d5e4f3e9a204f1b4ecf73413ad /scripts/lib/kdoc/kdoc_parser.py | |
parent | b02d41d884f64d22d5d5a2a4b35550f5e80bdb3d (diff) |
phy: freescale: imx8m-pcie: cleanup reset logic
Remove the switch statement and base perst release on whether it is
found in the device tree. The probe function fails without the reset
property, making it mandatory. Therefore, always release reset
independent of the variant.
This does not change the behavior of the driver but reduces driver
complexity and allows for easier future modifications.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250305144355.20364-2-eichest@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions