From: Alex Dubov Date: Sat, 26 Jul 2008 02:45:00 +0000 (-0700) Subject: memstick: allow "set_param" method to return an error code X-Git-Tag: v2.6.27-rc1~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b77899985bdfd85a8e5a6e485033a9b4713d2471;p=pandora-kernel.git memstick: allow "set_param" method to return an error code Some controllers (Jmicron, for instance) can report temporal failure condition during power-on. It is desirable to account for this using a return value of "set_param" device method. The return value can also be handy to distinguish between supported and unsupported device parameters in run time. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Alex Dubov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed