Clean up typos in some comments.

This commit is contained in:
Gregory Nutt 2018-12-22 08:12:34 -06:00
parent 1b8a2aed08
commit c137c6ef1f
2 changed files with 3 additions and 5 deletions

View File

@ -117,7 +117,7 @@
#define SMART_FIRST_DIR_SECTOR 3 /* First root directory sector */ #define SMART_FIRST_DIR_SECTOR 3 /* First root directory sector */
#define SMART_FIRST_ALLOC_SECTOR 12 /* First logical sector number we will #define SMART_FIRST_ALLOC_SECTOR 12 /* First logical sector number we will
* use for assignment of requested Alloc * use for assignment of requested Alloc
* sectors. All enries below this are * sectors. All entries below this are
* reserved (some for root dir entries, * reserved (some for root dir entries,
* other for our use, such as format * other for our use, such as format
* sector, etc. */ * sector, etc. */
@ -128,7 +128,7 @@
#endif #endif
#ifndef CONFIG_MTD_SMART_SECTOR_SIZE #ifndef CONFIG_MTD_SMART_SECTOR_SIZE
# define CONFIG_MTD_SMART_SECTOR_SIZE 1024 # define CONFIG_MTD_SMART_SECTOR_SIZE 1024
#endif #endif
#ifndef offsetof #ifndef offsetof
@ -136,7 +136,6 @@
#endif #endif
#define SMART_MAX_ALLOCS 10 #define SMART_MAX_ALLOCS 10
//#define CONFIG_MTD_SMART_PACK_COUNTS
#ifndef CONFIG_MTD_SMART_ALLOC_DEBUG #ifndef CONFIG_MTD_SMART_ALLOC_DEBUG
#define smart_malloc(d, b, n) kmm_malloc(b) #define smart_malloc(d, b, n) kmm_malloc(b)

View File

@ -160,8 +160,7 @@ static const struct file_operations rtc_fops =
static void rtc_destroy(FAR struct rtc_upperhalf_s *upper) static void rtc_destroy(FAR struct rtc_upperhalf_s *upper)
{ {
/* If the lower half driver provided a destroy method, then call that /* If the lower half driver provided a destroy method, then call that
* method now in order order to clean up resources used by the lower-half * method now in order to clean up resources used by the lower-half driver.
* driver.
*/ */
DEBUGASSERT(upper->lower && upper->lower->ops); DEBUGASSERT(upper->lower && upper->lower->ops);