From: Gabor Juhos Date: Sat, 29 Dec 2012 13:51:51 +0000 (+0100) Subject: rt2x00: rt2800: convert read_eeprom functions to return an int value X-Git-Tag: v3.9-rc1~139^2~242^2^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02308e931ad0bba19803779bec491c4b2d67b47;p=pandora-kernel.git rt2x00: rt2800: convert read_eeprom functions to return an int value Both the rtt2x00usb_eeprom_read and the ioremap functions are allowed to fail, however their return values are not checked in the read_eeprom functions in the rt2800{pci,usb} drivers. The patch adds the missing checks, and converts all read_eeprom functions to return an int value, so the error values can be propagated up to the 'rt2800_validate_eeprom' function. Signed-off-by: Gabor Juhos Signed-off-by: John W. Linville --- Reading git-diff-tree failed