diff options
| author | Hugo Villeneuve <[email protected]> | 2024-04-09 11:42:50 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-11 14:08:08 +0200 |
| commit | 7f335744817092112be68efc06404466c135ae52 (patch) | |
| tree | 3a44600e5378cb0d9cd0b01c7fbe4f2e2e70391c /tools/perf/scripts/python/bin | |
| parent | 2a8e4ab0c93fad30769479f86849e22d63cd0e12 (diff) | |
serial: sc16is7xx: unconditionally clear line bit in sc16is7xx_remove()
There is no need to check for previous port registration in
sc16is7xx_remove() because if sc16is7xx_probe() succeeded, we are
guaranteed to have successfully registered both ports. We can thus
unconditionally clear the line allocation bit in sc16is7xx_lines.
Signed-off-by: Hugo Villeneuve <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions