diff options
| author | Eric Holmberg <eholmber@codeaurora.org> | 2014-02-11 16:26:44 -0700 |
|---|---|---|
| committer | Eric Holmberg <eholmber@codeaurora.org> | 2014-02-12 18:24:11 -0700 |
| commit | 2cad996e0d42e6cd7ef8ad421c443dbf58b3d673 (patch) | |
| tree | 02548079bd7feaf839c43a773c214b424e47e808 /scripts/gcc-wrapper.py | |
| parent | 22f171b17bc4a29941b0a432998480f7598ffade (diff) | |
TTY: msm_smd_tty: Add warning to driver removal function
The current implementation of smd_tty_remove_driver does not check to
see if a matching driver instance is found before attempting to
unregister the driver. This could lead to a silent failure or an attempt
to remove a driver that does not exist.
Add a flag that indicates if a matching driver is found in the list
before removal is attempted. If no drivers are found, an error message
is logged.
Change-Id: I30f067b11dbe736ae065c5d4fbe30ca5c0645bb6
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
