mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
sf: Fix code cleanups
- CHECK: Alignment should match open parenthesis - trailing whitespace Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
This commit is contained in:
parent
402ba1e3a0
commit
5928b9a865
8 changed files with 16 additions and 15 deletions
|
@ -166,9 +166,10 @@ struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 *idcode)
|
||||||
idcode[0] = 0x20;
|
idcode[0] = 0x20;
|
||||||
idcode[1] = 0x20;
|
idcode[1] = 0x20;
|
||||||
idcode[2] = idcode[3] + 1;
|
idcode[2] = idcode[3] + 1;
|
||||||
} else
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
id = ((idcode[1] << 8) | idcode[2]);
|
id = ((idcode[1] << 8) | idcode[2]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue