1. 13 Sep, 2012 18 commits
  2. 12 Sep, 2012 8 commits
    • Paul Walmsley's avatar
      ARM: OMAP: unwrap strings · 7852ec05
      Paul Walmsley authored
      Find and unwrap wrapped strings in the style:
      
      	pr_debug("clockdomain: hardware cannot set/clear wake up of "
      		 "%s when %s wakes up\n", clkdm1->name, clkdm2->name);
      
      Keeping these strings contiguous seems to be the current Linux kernel
      policy.
      
      The offending lines were found with the following command:
      
          pcregrep -rnM '"\s*$\s*"' arch/arm/*omap*
      
      While here, some messages have been clarified, some pr_warning(
      ... calls have been converted to pr_warn( ..., and some printk(KERN_*
      ... have been converted to pr_*.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      7852ec05
    • Paul Walmsley's avatar
      ARM: OMAP: clean up some smatch warnings, fix some printk(KERN_ERR ... · a032d33b
      Paul Walmsley authored
      Resolve the following warnings from smatch:
      
      arch/arm/mach-omap2/gpmc.c:282 gpmc_cs_set_timings() info: why not propagate 'div' from gpmc_cs_calc_divider() instead of -1?
      arch/arm/mach-omap2/serial.c:328 omap_serial_init_port() error: 'pdev' dereferencing possible ERR_PTR()
      arch/arm/mach-omap2/timer.c:213 omap2_gp_clockevent_init() Error invalid range 4096 to -1
      arch/arm/mach-omap2/gpio.c:63 omap2_gpio_dev_init() warn: possible memory leak of 'pdata'
      arch/arm/mach-omap2/omap_hwmod.c:1478 _assert_hardreset() warn: assigning -22 to unsigned variable 'ret'
      arch/arm/mach-omap2/omap_hwmod.c:1487 _assert_hardreset() warn: 4294963201 is more than 255 (max '(ret)' can be) so this is always the same.
      arch/arm/mach-omap2/omap_hwmod.c:1545 _read_hardreset() warn: assigning -22 to unsigned variable 'ret'
      arch/arm/mach-omap2/omap_hwmod.c:1554 _read_hardreset() warn: 4294963201 is more than 255 (max '(ret)' can be) so this is always the same.
      arch/arm/mach-omap2/dpll3xxx.c:629 omap3_clkoutx2_recalc() error: we previously assumed 'pclk' could be null (see line 627)
      arch/arm/mach-omap2/board-n8x0.c:422 n8x0_mmc_late_init() Error invalid range 14 to 13
      arch/arm/mach-omap1/leds-h2p2-debug.c:71 h2p2_dbg_leds_event() error: potentially derefencing uninitialized 'fpga'.
      arch/arm/plat-omap/mux.c:79 omap_cfg_reg() Error invalid range 4096 to -1
      
      Thanks to Tony Lindgren <tony@atomide.com> for pointing out that BUG()
      can be disabled.  The changes in the first version that removed the
      subsequent return() after BUG() states have been dropped.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      a032d33b
    • Paul Walmsley's avatar
      ARM: OMAP2+: clean up PRCM sections of the Makefile · df47adb8
      Paul Walmsley authored
      Clean up the PRCM sections of the Makefile; this saves a few lines.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      df47adb8
    • Paul Walmsley's avatar
      ARM: OMAP2+: clean up OMAP clock Makefile sections · 9afe4eea
      Paul Walmsley authored
      Clean up the OMAP clock code sections of the Makefile to save
      some lines of diff.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      9afe4eea
    • Paul Walmsley's avatar
      ARM: OMAP2+: clean up OMAP4 PRM & sleep build directives in Makefile · f992dca0
      Paul Walmsley authored
      The prm44xx.o and sleep44xx.o build directives belong with the other
      PRCM- and PM-related build sections in the Makefile; move them there.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      f992dca0
    • Paul Walmsley's avatar
      ARM: OMAP2+: move MPU INTCPS, secure monitor, SDRC build directives in Makefile · 445d12a9
      Paul Walmsley authored
      Move MPU INTCPS (interrupt controller) and secure monitor code build
      directives to their own Makefile sections, for clarity.  Coalesce
      SDRC-related Makefile directives into the SDRC Makefile section.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      445d12a9
    • Paul Walmsley's avatar
      ARM: OMAP2+: clean up omap_hwmod.o build directives in Makefile · fcbde335
      Paul Walmsley authored
      Move the omap_hwmod_common_data.o build directive down to the hwmod
      data Makefile section where it belongs.  Move the omap_hwmod.o build
      directive to the top 'Common support' line, since we have no separate
      hwmod code Makefile section, and it's currently needed for all OMAP2+.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      fcbde335
    • Paul Walmsley's avatar
      ARM: OMAP2+: clean up whitespace in Makefile · 032c1bbe
      Paul Walmsley authored
      Convert spaces that should be tabs into tabs.  Fix another minor
      formatting issue.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      032c1bbe
  3. 11 Sep, 2012 1 commit
  4. 10 Sep, 2012 13 commits