Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging/mt29f_spinand: coding style fixes

This patch fixes coding style errors reported by checkpatch.pl.
It adds new lines after declarations in two places.

Signed-off-by: Simon Boulay <simon.boulay@alkeona.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Simon Boulay and committed by
Greg Kroah-Hartman
aeb49155 f4d90513

+2
+2
drivers/staging/mt29f_spinand/mt29f_spinand.c
··· 699 699 { 700 700 701 701 struct spinand_state *state = mtd_to_state(mtd); 702 + 702 703 memcpy(state->buf + state->buf_ptr, buf, len); 703 704 state->buf_ptr += len; 704 705 } ··· 707 706 static void spinand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) 708 707 { 709 708 struct spinand_state *state = mtd_to_state(mtd); 709 + 710 710 memcpy(buf, state->buf + state->buf_ptr, len); 711 711 state->buf_ptr += len; 712 712 }