OSDN Git Service

mtd: lpc32xx: drop bitflip_threshold initialization
authorBrian Norris <computersforpeace@gmail.com>
Wed, 28 May 2014 08:45:56 +0000 (01:45 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 2 Jul 2014 01:55:02 +0000 (18:55 -0700)
commitadddcac0a2683b93c106c6297c7c7e66498bcdde
treef5501a88553b526fe61062a447920700893efb51
parent7171511eaec5bf23fb06078f59784a3a0626b38f
mtd: lpc32xx: drop bitflip_threshold initialization

These drivers don't need to explicitly initialize their bitflip
thresholds. The comment is no longer correct, since nand_scan_tail()
performs this initialization as of the following commit:

    commit ea3b2ea24ef0f2ef9c6795b19cff456195b6728a
    Author: Shmulik Ladkani <shmulik@jungo.com>
    Date:   Fri Jun 8 18:29:06 2012 +0300

        mtd: nand: initialize bitflip_threshold prior to BBT scanning

(It seems there were some parallel efforts on writing/submitting these
drivers, and Shmulik's bug fix.)

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Roland Stigge <stigge@antcom.de>
drivers/mtd/nand/lpc32xx_mlc.c
drivers/mtd/nand/lpc32xx_slc.c