summaryrefslogtreecommitdiff
path: root/nuttx/drivers/mtd
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-19 20:02:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-19 20:02:23 +0000
commit4e4397a64f8d2d45e529ec113e56652fc59e1db5 (patch)
tree6f1493fe70f7e5f2470d21cfbb711588e9da7506 /nuttx/drivers/mtd
parent76bb5e20d25f228383f34c4a827303713553e838 (diff)
downloadpx4-nuttx-4e4397a64f8d2d45e529ec113e56652fc59e1db5.tar.gz
px4-nuttx-4e4397a64f8d2d45e529ec113e56652fc59e1db5.tar.bz2
px4-nuttx-4e4397a64f8d2d45e529ec113e56652fc59e1db5.zip
Fix issues detected by CppCheck tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3261 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/mtd')
-rw-r--r--nuttx/drivers/mtd/skeleton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/mtd/skeleton.c b/nuttx/drivers/mtd/skeleton.c
index 356e318a5..ecd5f85bb 100644
--- a/nuttx/drivers/mtd/skeleton.c
+++ b/nuttx/drivers/mtd/skeleton.c
@@ -1,7 +1,7 @@
/****************************************************************************
* drivers/mtd/skeleton.c
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -270,5 +270,5 @@ void skel_initialize(void)
/* Return the implementation-specific state structure as the MTD device */
- return ((FAR struct mtd_dev_s *)&g_skeldev;
+ return (FAR struct mtd_dev_s *)&g_skeldev;
}