flash: fix typos and duplicated words
[fw/openocd] / src / flash / nor / core.h
index 9f897e3e217cd66882e5ba25e3b459bc86d313b7..163e57878e5c6eb8f93d43c654b683173fd49913 100644 (file)
@@ -248,7 +248,7 @@ int get_flash_bank_by_num(unsigned int num, struct flash_bank **bank);
  * @a instance is driver-specific.
  * @param name_index The index to the string in args containing the
  * bank identifier.
- * @param bank On output, contians a pointer to the bank or NULL.
+ * @param bank On output, contains a pointer to the bank or NULL.
  * @returns ERROR_OK on success, or an error indicating the problem.
  */
 COMMAND_HELPER(flash_command_get_bank, unsigned name_index,