diff options
| author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-05-25 18:54:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-01 11:17:05 +0200 |
| commit | 7efcce04309260e8088e89ca2c0a33cff452ac5c (patch) | |
| tree | 7aec3ef2f099c72ee211ee52ca073eef7c514f46 /lib/mpi/mpiutil.c | |
| parent | e119216dea2dd7c78e231c06b9822072bb4a553e (diff) | |
staging: mt7621-gpio: avoid locking in mediatek_gpio_get_direction
mediatek_gpio_get_direction function is holding across a simple read
which it seems to be not neccessary at all. Just remove this locking
cleaning code of this function a bit.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
