summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/gpmc.c
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-02-21 22:20:53 +0100
committerJon Hunter <jon-hunter@ti.com>2013-04-01 21:53:40 +0200
commitbe9f10c04fb13d32fc30d599c1971a10916a2209 (patch)
tree8ca8daaa1e79c3f04cc930ad589b4d50fff29226 /arch/arm/mach-omap2/gpmc.c
parentARM: omap2: gpmc: Remove redundant chip select out of range check (diff)
downloadlinux-be9f10c04fb13d32fc30d599c1971a10916a2209.tar.xz
linux-be9f10c04fb13d32fc30d599c1971a10916a2209.zip
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