mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
staging: mt29f: fix usage of coma operator
Using the coma operator for multiple assignments is unnecessary and just looks weird here. Signed-off-by: Manuel Pégourié-Gonnard <mpg@elzevir.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e5b3ecebdf
commit
61cb8d9a2b
1 changed files with 5 additions and 5 deletions
|
@ -223,11 +223,11 @@ static int spinand_set_otp(struct spi_device *spi_nand, u8 *otp)
|
|||
int retval;
|
||||
struct spinand_cmd cmd = {0};
|
||||
|
||||
cmd.cmd = CMD_WRITE_REG,
|
||||
cmd.n_addr = 1,
|
||||
cmd.addr[0] = REG_OTP,
|
||||
cmd.n_tx = 1,
|
||||
cmd.tx_buf = otp,
|
||||
cmd.cmd = CMD_WRITE_REG;
|
||||
cmd.n_addr = 1;
|
||||
cmd.addr[0] = REG_OTP;
|
||||
cmd.n_tx = 1;
|
||||
cmd.tx_buf = otp;
|
||||
|
||||
retval = spinand_cmd(spi_nand, &cmd);
|
||||
if (retval < 0)
|
||||
|
|
Loading…
Reference in a new issue