[PATCH 05/11] mtd: add a helper to get the supported features for ONFI nand

Huang Shijie b32955 at freescale.com
Mon Apr 22 02:30:46 EDT 2013


于 2013年04月22日 12:29, Brian Norris 写道:
>> +/* return the supported features. */
>> >  +static inline int onfi_get_feature(struct nand_chip *chip)
> This function naming seems too close to the chip->onfi_get_features
> function pointer. They serve totally different purposes (I think) and
> should clearly be shown to be different in some way--preferably by
> naming.
>
ok.

what's about onfi_feature()?

Remove the "get" from the function name.

thanks
Huang Shijie




More information about the linux-mtd mailing list