summaryrefslogtreecommitdiff
path: root/drivers/staging/mt29f_spinand
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2015-10-17 23:52:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-17 09:03:16 -0700
commit13d0580cd1eabceb1661049d8830d913d1e31098 (patch)
tree8c2541fa2aa6b76d9034a5a8f44f40adfa71bc64 /drivers/staging/mt29f_spinand
parent09c02cb5a610b33425169cabae3efed390ff400a (diff)
Staging: mt29f_spinand: Remove space after a cast
Modify retval to reflect removal of space during cast operation. Checkpatch found this issue. CHECK: No space is necessary after a cast Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt29f_spinand')
-rw-r--r--drivers/staging/mt29f_spinand/mt29f_spinand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.c b/drivers/staging/mt29f_spinand/mt29f_spinand.c
index 1aa449e5fecf..cf982288f68e 100644
--- a/drivers/staging/mt29f_spinand/mt29f_spinand.c
+++ b/drivers/staging/mt29f_spinand/mt29f_spinand.c
@@ -594,7 +594,7 @@ static int spinand_erase_block(struct spi_device *spi_nand, u16 block_id)
if (retval < 0) {
dev_err(&spi_nand->dev,
"error %d reading status register\n",
- (int) retval);
+ (int)retval);
return retval;
}