staging: spectra: move all init logic into nand_pci_probe
authorYong Wang <yong.y.wang@linux.intel.com>
Wed, 17 Nov 2010 14:08:28 +0000 (22:08 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 17 Nov 2010 21:14:14 +0000 (13:14 -0800)
Currently there are some driver initialization logic that
is not part of nand_pci_probe function. This will result in
that part of driver initialization code executing even on
platforms without the corresponding hardware which is always
dangerous.

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found