commit | 52534f2dba5d033c0c33e515faa2767d7e8e986a | [log] [tgz] |
---|---|---|
author | Wanlong Gao <wanlong.gao@gmail.com> | Tue May 17 22:36:18 2011 +0800 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Wed May 25 02:05:49 2011 +0100 |
tree | c4d78a663b4c6e3fcc0f912e3be0860984fab947 | |
parent | 7c802fbd541448accec7bbc0e72ef38693a29593 [diff] |
mtd: simplify get_mtd_device_nm function 'get_mtd_device_nm()' has a piece of code which equivalent to what '__get_mtd_device()' does - remove this duplicated code and use ''__get_mtd_device()' instead. Artem: changed commit message. Artem: while on it, remove an unnecessary extra empty line Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>