st_kim: allow suspend if callback is not registered
authorGigi Joseph <gigi.joseph@gmail.com>
Fri, 9 Jan 2015 03:46:24 +0000 (03:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:10 +0000 (05:04 -0800)
commit4b4aa3ab982e1e6f22a3df12a368803576b73ccf
treef64b5946d1f67f08a6f8d45105fcd045f0ad7fa6
parent46d0d33350e9b32642d745a8b46a954910196b4d
st_kim: allow suspend if callback is not registered

Suspend/resume was failing if callbacks were not registered.
As it is ok not to do anything when suspending fix this
so it soen't return an error and allow the system to suspend.

Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Gigi Joseph <gigi.joseph@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c