From: Dan Carpenter Date: Wed, 12 Aug 2015 21:08:01 +0000 (+0300) Subject: cosa: missing error code on failure in probe() X-Git-Tag: omap-for-v4.3/fixes-merge-window~107^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d006938c9bda7ffd22af9d3e1257fd75941fb7;p=pandora-kernel.git cosa: missing error code on failure in probe() If register_hdlc_device() fails, the current code returns 0 but we should return an error code instead. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed