Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH v3 0/8] ARM: omap2: GPMC cleanup
@ 2013-02-12 19:22 Ezequiel Garcia
  2013-02-12 19:22 ` [PATCH v3 1/8] ARM: omap2: gpmc: Mark local scoped functions static Ezequiel Garcia
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Ezequiel Garcia @ 2013-02-12 19:22 UTC (permalink / raw)
  To: linux-omap, linux-arm-kernel
  Cc: Jon Hunter, Felipe Balbi, Tony Lindgren, Afzal Mohammed,
	Ezequiel Garcia

This patchset is v3 of the small cleanup consisting in:
 * mark some functions as 'static' when appropriate
 * remove an unused function from gpmc.c
 * improve error messages when a CS request fails
 * migrate to dev_err and dev_warn

Changes from v2:
 * add a commit message to some trivial patches,
   that omitted it due to author's laziness.

Changes from v1:
 * fix gpmc_cs_reserved to return a boolean instead
   of an integer error code
 * add a new patch to the patchset cleaning redundant checks

It has been tested on a IGEP v2 board with OneNAND,
which means the gpmc-nand patch is tested by compilation only.

Altough this patchset is almost trivial,
any feedback or testing is more than welcome.

Thanks to Jon Hunter for his kind review!

Ezequiel Garcia (8):
  ARM: omap2: gpmc: Mark local scoped functions static
  ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function
  ARM: omap2: gpmc: Fix gpmc_cs_reserved() return value
  ARM: omap2: gpmc-nand: Print something useful on CS request failure
  ARM: omap2: gpmc-onenand: Print something useful on CS request failure
  ARM: omap2: gpmc-onenand: Replace pr_err() with dev_err()
  ARM: omap2: gpmc-onenand: Replace printk KERN_ERR with dev_warn()
  ARM: omap2: gpmc: Remove redundant chip select out of range check

 arch/arm/mach-omap2/gpmc-nand.c    |    3 ++-
 arch/arm/mach-omap2/gpmc-onenand.c |    8 +++++---
 arch/arm/mach-omap2/gpmc.c         |   27 ++++++---------------------
 arch/arm/mach-omap2/gpmc.h         |    7 -------
 4 files changed, 13 insertions(+), 32 deletions(-)

-- 
1.7.8.6


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-04 19:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 19:22 [PATCH v3 0/8] ARM: omap2: GPMC cleanup Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 1/8] ARM: omap2: gpmc: Mark local scoped functions static Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 2/8] ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 3/8] ARM: omap2: gpmc: Fix gpmc_cs_reserved() return value Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 4/8] ARM: omap2: gpmc-nand: Print something useful on CS request failure Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 5/8] ARM: omap2: gpmc-onenand: " Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 6/8] ARM: omap2: gpmc-onenand: Replace pr_err() with dev_err() Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 7/8] ARM: omap2: gpmc-onenand: Replace printk KERN_ERR with dev_warn() Ezequiel Garcia
2013-02-12 19:22 ` [PATCH v3 8/8] ARM: omap2: gpmc: Remove redundant chip select out of range check Ezequiel Garcia
2013-03-04 18:53 ` [PATCH v3 0/8] ARM: omap2: GPMC cleanup Tony Lindgren
2013-03-04 19:25   ` Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox