From: Dan Carpenter Date: Mon, 19 Jan 2015 14:41:12 +0000 (+0300) Subject: sd: fix an error return in probe() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~151^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dee0586e15d5d5796dd76bdc0ecfb7df7c5ee1c8;p=pandora-kernel.git sd: fix an error return in probe() If device_add() fails then it should return the error code but instead the current code returns success. Signed-off-by: Dan Carpenter Reviewed-by: Tomas Henzl Signed-off-by: James Bottomley --- Reading git-diff-tree failed