lkml.org 
[lkml]   [2016]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/5] drivers/mtd: make several functions return bool
From
Date
ccing: Brian and Richard

Hi Yao,
Is that really necessary? I am not sure how much benefit we can
achieve from this change.
Could you explain more?

Yang

On 03/25/2016 10:41 AM, Yaowei Bai wrote:
> This series only make several funcitons return bool to improve
> readability, no other funcitonal changes.
>
> Yaowei Bai (5):
> drivers/mtd: mtd_is_partition can be boolean
> drivers/mtd: cfi_interleave_supported can be boolean
> drivers/mtd: map_bankwidth_supported can be boolean
> drivers/mtd: mtd_nand_has_bch can be boolean
> drivers/mtd/nand: nand_opcode_8bits can be boolean
>
> drivers/mtd/mtdpart.c | 6 +++---
> include/linux/mtd/cfi.h | 6 +++---
> include/linux/mtd/map.h | 6 +++---
> include/linux/mtd/nand.h | 6 +++---
> include/linux/mtd/nand_bch.h | 4 ++--
> include/linux/mtd/partitions.h | 2 +-
> 6 files changed, 15 insertions(+), 15 deletions(-)
>

\
 
 \ /
  Last update: 2016-03-25 04:21    [W:0.072 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site