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)
commitcb422f3bbc47ebf30ea3862b6ade462ea8e81e56
tree886ba506971adfb08cb39238de4fca60528eda92
parent35fb80b9de08024b375d76f08591ec5b7cc57995
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