1. 17 Oct, 2015 6 commits
    • Tony Cho's avatar
      staging: wilc1000: remove typedef from the tstrInterfaceInfo · 1a08bc43
      Tony Cho authored
      This patch removes typedef from the tstrInterfaceInfo and renames it to
      the wilc_vif.
      Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1a08bc43
    • Tony Cho's avatar
      staging: wilc1000: remove typedef from the linux_wlan_t · f61c5aff
      Tony Cho authored
      This patch removes typedef from the struct linux_wlan_t and renames it
      to the wilc. In addition, all of linux_wlan_t is replaced with struct wilc
      and memory allocation style is changed with preferred form as well like the
      following:
      	p = kmalloc(sizeof(*p), ...) where "struct wilc" is used
      Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f61c5aff
    • Tony Cho's avatar
      staging: wilc1000: remove extern declarations of g_linux_wlan · 9b7ecb01
      Tony Cho authored
      This patch removes extern declaration of g_linux_wlan from the
      followings because it is declared as extern in the wilc_wfi_netdevice.h
      file.
      
      - linux_mon.c
      - linux_wlan_sdio.c
      - wilc_wfi_cfgoperations.c
      Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9b7ecb01
    • Shraddha Barke's avatar
      Staging: wilc1000: Remove null check before kfree · 95f840fb
      Shraddha Barke authored
      kfree on NULL pointer is a no-op.
      The semantic patch used to find such an instance where NULL check is
      present before kfree-
      
      // <smpl>
      @@ expression E; @@
      - if (E != NULL) { kfree(E); }
      + kfree(E);
      @@ expression E; @@
      - if (E != NULL) { kfree(E); E = NULL; }
      + kfree(E);
      + E = NULL;
      // </smpl>smpl>
      Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      95f840fb
    • Shivani Bhardwaj's avatar
      Staging: wilc1000: host_interface: Remove unnecessary enum · 784c7d2f
      Shivani Bhardwaj authored
      enum scan_conn_timer and its instances are never used anywhere
      in the code so, remove it.
      Semantic patch used:
      
      @@
      type T;
      identifier i;
      constant C;
      position p != e.p;
      @@
      
      - T i@p;
        <+... when != i
      - i = C;
        ...+>
      Signed-off-by: default avatarShivani Bhardwaj <shivanib134@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      784c7d2f
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.4b' of... · 5da65454
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-4.4b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Second set of new drivers, functionality and cleanups for IIO in the 4.4 cycle.
      
      Core stuff
      * adjust resistance documentation to allow for output devices.
      
      New device support:
      * bmc150
       - split the i2c driver up into a core and i2c_regmap part including regmap
         conversion.
       - add spi support.
      * mcp4531 digitial potentiometer driver.
      * Measurement Specialties set of drivers with a core library module providing
        common functionality.  Note that the htu21 has a driver in hwmon, but the
        view from that side was that, given the range of devices the same silicon
        turns up in are not all typical hwmon material, that driver would be
        deprecated in favour of this new support.
       - ms8607 temperature, pressure and humidty sensor
       - ms5637 temperature and pressure sensor
       - htu21 temperature and humidity sensor
       - tsys02d temperature sensor
       - tsys01 temperature sensor
      
      Cleanups
      * tree wide.
       - squish cases where irq 0 is still considered valid.
      * apds9960
       - sparse endian warning cleanups by making endianness explicit.
      * ad5504
       - leave group naming to the core.
      * ad7746
       - cleanup comment style.
       - drop an unnecessary bit of dev_info
       - add some appropriate uses of the BIT macro.
      * ad799x
       - leave group naming to the core.
      * hdc100x - introduced this cycle,.
       - fix a wrong offset value.
      * lidar
       - add missing MODULE_DEVICE_TABLE for dt.
      * max1363
       - leave sysfs group naming to the core.
      * m62332 got the Harmut treatment and as ever he found a 'few' bits the
        rest of us had missed!
       - Share scale and offset attributes across channels.
       - Shutdown the device on driver remove
       - Use ARRAY_SIZE rather than a hard coded count for channels.
       - Return more directly in the write_raw callback dropping a local variable
         along the way.
       - a few style issues
       - move to reading the regulator voltage for each use allowing for dynamic
         regulators.  This is a common feature across drivers so we might end
         up with more fixes throughout the tree for this.
      * mlx96014 - introduced this cycle.
       - fixed up a spot of error handling.
      * vz89x - introduced this cycle.
       - work around a hardware quirk.
      5da65454
  2. 13 Oct, 2015 34 commits