diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-11-29 13:28:52 -0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-01-30 11:50:30 +0100 |
commit | 4339b7fdbb90ab579862b0fcde6ee0f342f12692 (patch) | |
tree | 1d49550af8f34b77c17030c867fb5f87633a9038 /drivers/mtd/nand/Kconfig | |
parent | 61babe943938bb41fcd7e2b1dec7d1537ea3892f (diff) |
mtd: nand: lpc32xx_slc: Remove unneeded NULL check on 'rc'
devm_ioremap_resource() does a NULL check on the 'rc' argument, so
remove the unneeded manual NULL check.
While at it, place the 'rc' assignment just before
devm_ioremap_resource() to improve readability.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
0 files changed, 0 insertions, 0 deletions