On Sat, Jun 21, 2008 at 07:10:45AM +0200, Peter Stuge wrote:
Patch attached.
//Peter
!DSPAM:485c8dbe118861804284693!
flashrom: Slight restructure of SPI probe_ functions
Preparation for a probe optimization patch to come. This patch does not change functionality. spi_probe_rdid was tested to still work on my M57SLI rev 2.
The idea is to have error checks return error immediately when something fails, rather than having code inside an if block testing for success. This means: Less indentation, more clear what the code checks for.
Signed-off-by: Peter Stuge peter@stuge.se
Acked-by: Ward Vandewege ward@gnu.org
Thanks, Ward.