aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/ipcns_notifier.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-03-19 00:53:42 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-24 20:50:14 -0400
commita2f812df0b3d467db2ae5e3be38c36ff692ff99f (patch)
tree95f3451db3b485ab928b76e536cf526a41ac0995 /ipc/ipcns_notifier.c
parenta626743f579aa743473fd8b9215ca198bacf2ac4 (diff)
mtd: nand: dynamic allocation of flash-based BBT structs
It is nicer to dynamically create our badblock patterns than to statically define them. The nand_create_default_bbt_descr() function does a sufficient job of handling various bad block scanning options for either flash-based or non-flash-based BBTs, so we might as well use the function for both cases. This patch simplifies and shortens our code (and removes a TODO that I left a few months ago). Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'ipc/ipcns_notifier.c')
0 files changed, 0 insertions, 0 deletions