crypto: ccp - Make ccp_dev_suspend and ccp_dev_resume void functions

Since ccp_dev_suspend() and ccp_dev_resume() only return 0 which causes
ret to equal 0 in sp_suspend and sp_resume, making the if condition
impossible to use. it might be a more appropriate fix to have these be
void functions and eliminate the if condition in sp_suspend() and

Signed-off-by: Tian Tao <>
Cc: Herbert Xu <>
Cc: "David S. Miller" <>
Cc: Tom Lendacky <>
Acked-by: Tom Lendacky <>
Acked-by: John Allen <>
Signed-off-by: Herbert Xu <>
3 files changed