diff options
author | Ezequiel Garcia | 2013-11-07 12:17:15 -0300 |
---|---|---|
committer | Brian Norris | 2014-01-03 11:22:10 -0800 |
commit | 2d79ab16f592f07f21d666a86682684ab2d135f8 (patch) | |
tree | 291b1f6e199db61e2270d69220f6e00fe4f75f69 /lib/memweight.c | |
parent | c7e9c7e71b5a76adf42bf10e059ae1d63bcd5e1a (diff) |
mtd: nand: pxa3xx: Use chip->cmdfunc instead of the internal
Whenever possible, it's always better to use the generic chip->cmdfunc
instead of the internal pxa3xx_nand_cmdfunc().
In this particular case, this will allow to have multiple cmdfunc()
implementations for different SoC variants.
Reviewed-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions