From: David Matlack Date: Fri, 23 May 2014 04:38:45 +0000 (-0700) Subject: staging: slicoss: handle errors from slic_config_get X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~560 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47a401a8aec98b152e328858bbb4406c7e3b61e1;p=pandora-kernel.git staging: slicoss: handle errors from slic_config_get slic_config_get() can fail. Change the return type from void to int and handle the error in slic_card_init(). So now, instead of silently failing (and then timing out waiting for the config data), the driver will fail loudly at request time. Signed-off-by: David Matlack Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed