]> git.baikalelectronics.ru Git - kernel.git/commit
staging: sm750fb: Remove spinlock helper function
authorLorenzo Stoakes <lstoakes@gmail.com>
Fri, 20 Mar 2015 15:22:15 +0000 (15:22 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 12:04:48 +0000 (13:04 +0100)
commit51aa3a4d89cfb1793f16e356b3ee39558f943332
tree886ba506971adfb08cb39238de4fca60528eda92
parent3cf0d1a64c3c35ce972fbba9af08a3dc38c06f08
staging: sm750fb: Remove spinlock helper function

This patch removes the unnecessary spinlock helper function and instead
calls spin_lock and spin_unlock directly.

This does *not* resolve sparse warnings about context imbalances but these are
spurious.

Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c