mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mtd: rawnand: Get rid of a few unused definitions
Those definitions are not used, let's remove them. Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
This commit is contained in:
parent
d16397d57a
commit
4114f97c41
2 changed files with 0 additions and 22 deletions
|
|
@ -270,20 +270,6 @@ static const struct nand_data_interface onfi_sdr_timings[] = {
|
|||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* onfi_async_timing_mode_to_sdr_timings - [NAND Interface] Retrieve NAND
|
||||
* timings according to the given ONFI timing mode
|
||||
* @mode: ONFI timing mode
|
||||
*/
|
||||
const struct nand_sdr_timings *onfi_async_timing_mode_to_sdr_timings(int mode)
|
||||
{
|
||||
if (mode < 0 || mode >= ARRAY_SIZE(onfi_sdr_timings))
|
||||
return ERR_PTR(-EINVAL);
|
||||
|
||||
return &onfi_sdr_timings[mode].timings.sdr;
|
||||
}
|
||||
EXPORT_SYMBOL(onfi_async_timing_mode_to_sdr_timings);
|
||||
|
||||
/**
|
||||
* onfi_fill_data_interface - [NAND Interface] Initialize a data interface from
|
||||
* given ONFI mode
|
||||
|
|
|
|||
Loading…
Reference in a new issue