1. 21 9月, 2012 18 次提交
  2. 19 9月, 2012 1 次提交
    • A
      ARM: omap: move platform_data definitions · 2203747c
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the omap include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: "Benoît Cousson" <b-cousson@ti.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ohad Ben-Cohen <ohad@wizery.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Cc: Jean Pihet <j-pihet@ti.com>
      Cc: J Keerthy <j-keerthy@ti.com>
      Cc: linux-omap@vger.kernel.org
      2203747c
  3. 18 9月, 2012 2 次提交
  4. 13 9月, 2012 8 次提交
  5. 12 9月, 2012 8 次提交
    • P
      ARM: OMAP: unwrap strings · 7852ec05
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      7852ec05
    • P
      ARM: OMAP: clean up some smatch warnings, fix some printk(KERN_ERR ... · a032d33b
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      a032d33b
    • P
      ARM: OMAP2+: clean up PRCM sections of the Makefile · df47adb8
      Paul Walmsley 提交于
      Clean up the PRCM sections of the Makefile; this saves a few lines.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      df47adb8
    • P
      ARM: OMAP2+: clean up OMAP clock Makefile sections · 9afe4eea
      Paul Walmsley 提交于
      Clean up the OMAP clock code sections of the Makefile to save
      some lines of diff.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      9afe4eea
    • P
      ARM: OMAP2+: clean up OMAP4 PRM & sleep build directives in Makefile · f992dca0
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      f992dca0
    • P
      ARM: OMAP2+: move MPU INTCPS, secure monitor, SDRC build directives in Makefile · 445d12a9
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      445d12a9
    • P
      ARM: OMAP2+: clean up omap_hwmod.o build directives in Makefile · fcbde335
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      fcbde335
    • P
      ARM: OMAP2+: clean up whitespace in Makefile · 032c1bbe
      Paul Walmsley 提交于
      Convert spaces that should be tabs into tabs.  Fix another minor
      formatting issue.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      032c1bbe
  6. 11 9月, 2012 3 次提交