1. 20 Nov, 2012 28 commits
  2. 13 Nov, 2012 9 commits
  3. 11 Nov, 2012 3 commits
    • Geert Uytterhoeven's avatar
      mfd: Remove Unicode Byte Order Marks from da9055 · 90a38d99
      Geert Uytterhoeven authored
      Older gcc (< 4.4) doesn't like files starting with Unicode BOMs:
      
      include/linux/mfd/da9055/core.h:1: error: stray ‘\357’ in program
      include/linux/mfd/da9055/core.h:1: error: stray ‘\273’ in program
      include/linux/mfd/da9055/core.h:1: error: stray ‘\277’ in program
      include/linux/mfd/da9055/pdata.h:1: error: stray ‘\357’ in program
      include/linux/mfd/da9055/pdata.h:1: error: stray ‘\273’ in program
      include/linux/mfd/da9055/pdata.h:1: error: stray ‘\277’ in program
      include/linux/mfd/da9055/reg.h:1: error: stray ‘\357’ in program
      include/linux/mfd/da9055/reg.h:1: error: stray ‘\273’ in program
      include/linux/mfd/da9055/reg.h:1: error: stray ‘\277’ in program
      
      Remove the BOMs, the rest of the files is plain ASCII anyway.
      
      Output of "file" before:
      
      include/linux/mfd/da9055/core.h:  UTF-8 Unicode (with BOM) C program text
      include/linux/mfd/da9055/pdata.h: UTF-8 Unicode (with BOM) C program text
      include/linux/mfd/da9055/reg.h:   UTF-8 Unicode (with BOM) C program text
      
      Output of "file" after:
      
      include/linux/mfd/da9055/core.h:  ASCII C program text
      include/linux/mfd/da9055/pdata.h: ASCII C program text
      include/linux/mfd/da9055/reg.h:   ASCII C program text
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      90a38d99
    • Lee Jones's avatar
      mfd: Differentiate between u8500 and u9540 TCDM address mapping · b851c06c
      Lee Jones authored
      The TCDM mappings are quite different from u8500 to u9540. If these
      aren't correctly specified for a given board, it will fail to boot.
      Here we add the correct TCDM base for the u9540.
      
      Please note that although this patch allows us to boot the u9540,
      it doesn't provide us with full enablement. For that, another
      patch-set will follow which completely re-vamps the way the PRCMU
      is passed TCDM mappings.
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      b851c06c
    • Lee Jones's avatar
      mfd: ab8500-core: Use devm_* memory/IRQ and allocation/free routines · 8c4203cb
      Lee Jones authored
      It is better to use devm_* calls, as they allow for easier
      and more automatic clean-up. Resources are device allocated,
      so when a device is freed, so are all associated resources.
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      8c4203cb