From c137c6ef1fb2a1bf1bf9a46190f38f6e221c9d72 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 22 Dec 2018 08:12:34 -0600 Subject: [PATCH] Clean up typos in some comments. --- drivers/mtd/smart.c | 5 ++--- drivers/timers/rtc.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/smart.c b/drivers/mtd/smart.c index a08842f2f1..fbb6da34b2 100644 --- a/drivers/mtd/smart.c +++ b/drivers/mtd/smart.c @@ -117,7 +117,7 @@ #define SMART_FIRST_DIR_SECTOR 3 /* First root directory sector */ #define SMART_FIRST_ALLOC_SECTOR 12 /* First logical sector number we will * use for assignment of requested Alloc - * sectors. All enries below this are + * sectors. All entries below this are * reserved (some for root dir entries, * other for our use, such as format * sector, etc. */ @@ -128,7 +128,7 @@ #endif #ifndef CONFIG_MTD_SMART_SECTOR_SIZE -# define CONFIG_MTD_SMART_SECTOR_SIZE 1024 +# define CONFIG_MTD_SMART_SECTOR_SIZE 1024 #endif #ifndef offsetof @@ -136,7 +136,6 @@ #endif #define SMART_MAX_ALLOCS 10 -//#define CONFIG_MTD_SMART_PACK_COUNTS #ifndef CONFIG_MTD_SMART_ALLOC_DEBUG #define smart_malloc(d, b, n) kmm_malloc(b) diff --git a/drivers/timers/rtc.c b/drivers/timers/rtc.c index 380bb35419..cb4a8efaba 100644 --- a/drivers/timers/rtc.c +++ b/drivers/timers/rtc.c @@ -160,8 +160,7 @@ static const struct file_operations rtc_fops = static void rtc_destroy(FAR struct rtc_upperhalf_s *upper) { /* 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 - * driver. + * method now in order to clean up resources used by the lower-half driver. */ DEBUGASSERT(upper->lower && upper->lower->ops);