1. 30 Sep, 2015 11 commits
    • Chaehyun Lim's avatar
      staging: wilc1000: fix build error for openrisc-allmodconfig · 0c9fc33c
      Chaehyun Lim authored
      The kbuild test robot reports the following build error for
      openrisc-allmodconfig.
      
      >> drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit
      >> declaration of function 'memset'
      
      The error occurs due to missing a standard header file as
      <linux/string.h> so that three .c files are included it.
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0c9fc33c
    • Glen Lee's avatar
      staging: wilc1000: remove define CONNECT_DIRECT · 74779295
      Glen Lee authored
      The driver use CONNECT_DIRECT define as always. No need to provide as feature.
      This patch removes ifdef/ifndef CONNECT_DIRECT line and it's related codes
      inside ifndef CONNECT_DIRECT.
      Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      74779295
    • Glen Lee's avatar
      staging: wilc1000: remove define WILC_PARSE_SCAN_IN_HOST · 438b293e
      Glen Lee authored
      The define WILC_PARSE_SCAN_IN_HOST is always used in the driver, so just
      delete ifdef WILC_PARSE_SCAN_IN_HOST line, ifndef WILC_PARSE_SCAN_IN_HOST
      line and it's related codes. Finally, remove define in Makefile.
      Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      438b293e
    • Chaehyun Lim's avatar
      staging: wilc1000: delete wilc_oswrapper.h · 9fc42225
      Chaehyun Lim authored
      This patch deletes wilc_oswrapper.h that has nothing inside.
      Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9fc42225
    • Chaehyun Lim's avatar
      staging: wilc1000: remove wilc_platform include file · e215a871
      Chaehyun Lim authored
      This patch removes wilc_platform.h include file in wilc_oswrapper.h
      wilc_platform.h have several standard header files so that some header
      files should be included to avoid compilation errors.
      Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e215a871
    • Anish Bhatt's avatar
      wilc1000 : Use BIT() macro where possible · ffda203c
      Anish Bhatt authored
      Replace (1 << x) by BIT(x) as recommended by
      checkpatch.pl
      Signed-off-by: default avatarAnish Bhatt <anish@gatech.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ffda203c
    • Anish Bhatt's avatar
      wilc1000 : Remove leftover comment delimiters · 65ead4ec
      Anish Bhatt authored
      Remove leftover comment delimiters that were only partially removed
      in a previous cleanup.
      
      Fixes : c3ca6372 ("staging: wilc1000: remove useless comment")
      Signed-off-by: default avatarAnish Bhatt <anish@gatech.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      65ead4ec
    • Cristina Moraru's avatar
      staging:emxx_udc: Fixed comparison style warnings · 2866914c
      Cristina Moraru authored
      Fixed 'Comparisons should place the constant on the right side of the
      test' Warnings
      Signed-off-by: default avatarCristina Moraru <cristina.moraru09@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2866914c
    • Shraddha Barke's avatar
      Staging: media: lirc: Use USB API functions rather than constants · b3ce2076
      Shraddha Barke authored
      Introduce use of function usb_endpoint_is_int_in() and
      usb_endpoint_is_int_out(). Also remove the variables
      ep_dir and ep_type as they are not used anymore.
      Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b3ce2076
    • Greg Kroah-Hartman's avatar
      staging: iio: iio_dummy_evgen: handle_simple_irq() build fix · d0a76bbf
      Greg Kroah-Hartman authored
      handle_simple_irq() has dropped the first parameter, so fix it up in the
      iio_dummy_evgen.c driver to prevent the build from breaking.
      
      Cc: Jonathan Cameron <jic23@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d0a76bbf
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.4a' of... · 9f827d80
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-4.4a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First round of new driver, new functionality and cleanups for IIO in the 4.4 cycle
      
      New device support
      * APDS9960 ALS + proximity driver
      * bmg160 SPI devices.
      * HDC100x humidity sensors
      * Holt HI-8435 threshold detector
      * mma8453Q accelerometer added to the mma8452 driver
      * mma86452FC and mma8653FC accelerometers added to the mma8452 driver
      * mxc4005 accelerometer
      * PulsedLight LIDAR
      * SensorTech VZ89x volatile organic compound sensor
      * UPISEMI uS5182d ALS and proximity sensors
      
      New core functionality
      * triggered events - use triggers to check for changes in threshold type
        detectors on devices with out interrupt support.  First user is the holt
        comparator.
      * chemical concentration and resistance channel types.
      
      New driver functionality
      * vf610
        - buffer support.
        - followup coccinelle warning fix.
      
      Core rework
      * buffers
        - break out callback buffer to own module.
        - move buffer implementations to a new subdirectory
      * percolate the error code form iio_event_getfd out to userspace
        rather than giving a missleading error later on.
      
      Cleanups
      * adddac drivers
        - use BIT macro where appropriate.
      * meter drivers
        - use BIT macro where appropriate.
      
      * ad7303
       - add an OF match table to line up with the binding docs.
      * adc128s052
        - add an OF match table to line up with the binding docs.
      * adf4350
        - add an OF match table to line up with the binding docs
      * as3935
        - add an OF match table to line up with the binding docs.
      * berlin2-adc
        - use GENMASK and BIT for masks
        - prevent attempting to sample multiple channels at once by moving a
          mutex scop
        - coding style cleanups
      * bmg150_magn
        - kconfig sort order was wrong - fix it.
      * bmg160
        - use i2c regmap and drop all uses of i2c_client
        - separate i2c and core driver
      * cc10001_adc
        - kconfig sort order was wrong - fix it.
      * evgen (dummy driver helper module)
        - move interrupt generation to irq_work to reduce differences between
          the dummy driver and real hardware drivers.
      * hmc5843
        - set the name dynamically rather than to a fixed value for one of the
          suported parts.
        - export module alias information to allow autoprobing of module.
      * lpc32xx
        - on failure to get resource or irq return -ENXIO as uppose to -EBUSY
      * max1027
        - set .of_match_table to actually allow OF style matching.
      * max5821
        - add MODULE_DEVICE_TABLE for OF table.
      * mma8452
        - refactor to separate out chip specific data.
        - add freefall / motion interrupt source for devices that do their
          interrupts slightly differently.
        - update copywrite notice.
        - leave naming of events directory in sysfs to the core
      * mcp320x
        - set .of_match_table so that it can be use for OF style matching.
      * mlx90614
        - Implement filter configuration (note the datasheet changed as a result
          of the driver reviews to include the values we needed ;)
      * opt3001
        - drop .owner field as assigned by platform driver core.
      * si7020
        - replace a bitmask on the humidity values with a more correct range
          check.
      * stk310
        - improved error handling.
        - use BIT macro where appropriate and use the resulting defines
          instead of magic numbers in the code.
        - fix indentation
      * st-sensors
        - add debugfs register read hook
      * tsl4531
        - fix error handling in check_id
      * twl6030
        - fix module autoload for OF
      * iio-trig-sysfs
        - document add and remove attribute
      * trigger in staging
        - code alignment fixes.
        - braces on both branches of if statement if needed for one.
      * xilinx-xadc
        - push interrupts into hardirq context as there isn't much in them
          any more and it avoids breaking PREEMPT_RT builds due to the use
          of a spinlock between the hardirq and the thread.
      
      Tools
      * event-monitor
        - report unsupported events.  We keep expanding what can come from drivers
          so give a helpful error if one turns up in an out of date userspace
          program.
      * generic-buffer
        - helpful message about needing to enable a channel to start the buffer.
      9f827d80
  2. 29 Sep, 2015 29 commits