drivers/mtd: Fix code alignment for compliance to coding standard

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-08-27 14:30:30 -03:00 committed by Xiang Xiao
parent f153e42fcb
commit 84e9ff085f
1 changed files with 8 additions and 8 deletions

View File

@ -633,16 +633,16 @@ static ssize_t part_procfs_read(FAR struct file *filep, FAR char *buffer,
/* Terminate the partition name and add to output buffer */
ret = snprintf(&buffer[total], buflen - total,
"%s%7ju %7ju %s\n",
partname,
(uintmax_t)attr->nextpart->firstblock / blkpererase,
(uintmax_t)attr->nextpart->neraseblocks,
attr->nextpart->parent->name);
"%s%7ju %7ju %s\n",
partname,
(uintmax_t)attr->nextpart->firstblock / blkpererase,
(uintmax_t)attr->nextpart->neraseblocks,
attr->nextpart->parent->name);
#else
ret = snprintf(&buffer[total], buflen - total, "%7ju %7ju %s\n",
(uintmax_t)attr->nextpart->firstblock / blkpererase,
(uintmax_t)attr->nextpart->neraseblocks,
attr->nextpart->parent->name);
(uintmax_t)attr->nextpart->firstblock / blkpererase,
(uintmax_t)attr->nextpart->neraseblocks,
attr->nextpart->parent->name);
#endif
if (ret + total < buflen)