1. 12 2月, 2013 2 次提交
    • J
      staging: Remove unnecessary OOM messages · 78110bb8
      Joe Perches 提交于
      alloc failures already get standardized OOM
      messages and a dump_stack.
      
      For the affected mallocs around these OOM messages:
      
      Converted kzallocs with multiplies to kcalloc.
      Converted kmallocs with multiplies to kmalloc_array.
      Converted a kmalloc/strlen/strncpy to kstrdup.
      Moved a spin_lock below a removed OOM message and
      removed a now unnecessary spin_unlock.
      Neatened alignment and whitespace.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      78110bb8
    • G
      Merge tag 'iio-for-3.9d' of... · ad463ac4
      Greg Kroah-Hartman 提交于
      Merge tag 'iio-for-3.9d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      "4th set of IIO new drivers cleanups and fixes for the 3.9 cycle
      + a new spi helper function.
      
      1) Introduce spi_sync_transfer and use it within IIO.  Originally
         it was envisioned that this nice little boilerplate replacement
         would go through the spi tree, but Grant Likely stated he'd
         prefer we take it through IIO as the example usecases were all
         in IIO (and are also in this pull request).  Note that given
         their may have been some unresolved elements related to the
         coccinelle element of the patch, that has been stripped out
         and will doubtlessly follow at a later date (along with
         lots of other patches for drivers elsewhere in the tree).
      
      2) New Invensense MPU6050 driver.  This is stripped down to pretty
         much the basics from the original submission with the intent
         to build up all the fancy bits in an incremental (and hence
         reviewable fashion). It's been through a good few revisions
         so nice to finally merge this.
      
      3) Change to iio_channel_get api to simplify device tree based
         mappings.  The actual mappings are currently under review.
      
      4) Build fixes for !CONFIG_IIO_TRIGGER in the st_sensors driver.
         This one snuck past during review and testing but got picked
         up by Randy Dunlap in a randconfig build.
      
      5) Some max1363 cleanups and enhancements.
      
      6) Some comment fixes to make them coherent and comprehensible.
      
      7) Trivial build warning fix in mxs-lradc"
      ad463ac4
  2. 11 2月, 2013 1 次提交
  3. 09 2月, 2013 16 次提交
  4. 08 2月, 2013 6 次提交
  5. 07 2月, 2013 5 次提交
  6. 06 2月, 2013 10 次提交