[PATCH 2/6] st_kim: allow suspend if callback is not registered

2015-01-08 Thread Gigi Joseph
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 Signed-off-by: Gigi Joseph --- drivers/misc/ti-st/st_kim.c | 4 ++-- 1 file changed, 2

[PATCH 2/6] st_kim: allow suspend if callback is not registered

2015-01-08 Thread Gigi Joseph
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 ey...@ti.com Signed-off-by: Gigi Joseph gigi.jos...@ti.com --- drivers/misc/ti-st/st_kim.c