summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/gpmc.c
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-02-21 15:20:53 -0600
committerJon Hunter <jon-hunter@ti.com>2013-04-01 14:53:40 -0500
commitbe9f10c04fb13d32fc30d599c1971a10916a2209 (patch)
tree8ca8daaa1e79c3f04cc930ad589b4d50fff29226 /arch/arm/mach-omap2/gpmc.c
parentf5d8edaf1d06e922a3c3d75c52ef5628ceec32c4 (diff)
ARM: OMAP2+: Simplify code configuring ONENAND devices
The OMAP2+ code that configures the GPMC for ONENAND devices is copying structures between functions unnecessarily. Avoid this by passing pointers instead and simplify the code. A pointer to structure "omap_onenand_platform_data" is passed to the function omap2_onenand_calc_sync_timings(), but only the flags member of the structure is used. Simplify the code by only passing the flags member and not the entire structure. Signed-off-by: Jon Hunter <jon-hunter@ti.com> Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-omap2/gpmc.c')
0 files changed, 0 insertions, 0 deletions