mtd/nand/fsl_upm: Replace the dangerous to_fsl_upm_nand macro
authorFerenc Wagner <wferi@niif.hu>
Tue, 23 Mar 2010 17:08:16 +0000 (18:08 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 10 May 2010 13:18:28 +0000 (14:18 +0100)
commitb92b5c41a05b69f56e3d5e92dce3dbb5f5f5cf81
tree7a15134bffaac57055c731ba68290ba248f7e244
parent4a70b7d3953c279738a094d2e5ffe7c66b15a5d0
mtd/nand/fsl_upm: Replace the dangerous to_fsl_upm_nand macro

The original macro worked only when applied to variables named 'mtd'.
While this could have been fixed by simply renaming the macro argument,
a more type-safe replacement is preferred.

Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_upm.c