15 Sep, 2016

2 commits

  • This file is currently getting module.h from a global gpio header
    and it will faii to build once we remove module.h from that.

    However, the driver is controlled with the following Kconfig:

    drivers/gpio/Kconfig:config GPIO_SX150X
    drivers/gpio/Kconfig: bool "Semtech SX150x I2C GPIO expander"

    and hence the two lines of MODULE_DEVICE_TABLE are no-ops that
    can simply be deleted.

    Cc: Linus Walleij
    Cc: Alexandre Courbot
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Linus Walleij

    Paul Gortmaker
     
  • This file is currently getting module.h from a global gpio header
    and it will fail to build once we remove module.h from that.

    However, the driver is controlled with the following Kconfig:

    drivers/gpio/Kconfig:config GPIO_PALMAS
    drivers/gpio/Kconfig: bool "TI PALMAS series PMICs GPIO"

    and hence the line of MODULE_DEVICE_TABLE is a no-op that can simply
    be deleted. In fact it should have been removed in an earlier commit
    that did demodularization, however the unseen include prevented my
    build testing from detecting it.

    Cc: Linus Walleij
    Cc: Alexandre Courbot
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Linus Walleij

    Paul Gortmaker
     

13 Sep, 2016

7 commits


12 Sep, 2016

10 commits


08 Sep, 2016

2 commits


07 Sep, 2016

3 commits

  • The Aspeed SoCs contain GPIOs banked by letter, where each bank contains
    8 pins. The GPIO banks are then grouped in sets of four in the register
    layout.

    The implementation exposes multiple banks through the one driver and
    requests and releases pins via the pinctrl subsystem. The hardware
    supports generation of interrupts from all GPIO-capable pins.

    A number of hardware features are not yet supported: Configuration of
    interrupt direction (ARM or LPC), debouncing, and WDT reset tolerance
    for output ports.

    Signed-off-by: Joel Stanley
    Signed-off-by: Alistair Popple
    Signed-off-by: Jeremy Kerr
    Signed-off-by: Andrew Jeffery
    Signed-off-by: Linus Walleij

    Joel Stanley
     
  • Signed-off-by: Andrew Jeffery
    Acked-by: Joel Stanley
    Acked-by: Rob Herring
    Signed-off-by: Linus Walleij

    Andrew Jeffery
     
  • The recent addition of the regulator support has led to the pca953x_remove
    function returning uninitialized data when no platform data pointer is
    provided, as gcc warns when using -Wmaybe-uninitialized:

    drivers/gpio/gpio-pca953x.c: In function 'pca953x_remove':
    drivers/gpio/gpio-pca953x.c:860:9: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]

    This restores the previous behavior, returning 0 on success.

    Signed-off-by: Arnd Bergmann
    Fixes: e23efa311110 ("gpio: pca954x: Add vcc regulator and enable it")
    Acked-by: Phil Reid
    Signed-off-by: Linus Walleij

    Arnd Bergmann
     

31 Aug, 2016

3 commits


24 Aug, 2016

1 commit


23 Aug, 2016

4 commits

  • The Kconfig currently controlling compilation of this code is:

    drivers/gpio/Kconfig:config GPIO_VF610
    drivers/gpio/Kconfig: def_bool y

    ...meaning that it currently is not being built as a module by anyone.

    Lets remove the couple traces of modular infrastructure use, so that
    when reading the driver there is no doubt it is builtin-only.

    We delete the MODULE_LICENSE tag etc. since all that information
    is now contained at the top of the file in the comments.

    We don't replace module.h with init.h since the file already has that.

    Cc: Alexandre Courbot
    Cc: Stefan Agner
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Linus Walleij

    Paul Gortmaker
     
  • The Kconfig currently controlling compilation of this code is:

    drivers/gpio/Kconfig:config GPIO_SPEAR_SPICS
    drivers/gpio/Kconfig: bool "ST SPEAr13xx SPI Chip Select as GPIO support"

    ...meaning that it currently is not being built as a module by anyone.

    Lets remove the couple traces of modular infrastructure use, so that
    when reading the driver there is no doubt it is builtin-only.

    We delete the MODULE_LICENSE tag etc. since all that information
    is now contained at the top of the file in the comments.

    Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

    Cc: Alexandre Courbot
    Cc: Shiraz Hashim
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Linus Walleij

    Paul Gortmaker
     
  • The Kconfig currently controlling compilation of this code is:

    drivers/gpio/Kconfig:config GPIO_MXC
    drivers/gpio/Kconfig: def_bool y

    ...meaning that it currently is not being built as a module by anyone.

    Lets remove the couple traces of modular infrastructure use, so that
    when reading the driver there is no doubt it is builtin-only.

    We delete the MODULE_LICENSE tag etc. since all that information
    was (or is now) contained at the top of the file in the comments.
    Note the original e-mail had a missing/typo'd @ symbol anyway.

    We don't replace module.h with init.h since the file already has that.

    Cc: Alexandre Courbot
    Cc: Daniel Mack
    Cc: Juergen Beisert
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Linus Walleij

    Paul Gortmaker
     
  • The Kconfig currently controlling compilation of this code is:

    drivers/gpio/Kconfig:config GPIO_MSIC
    drivers/gpio/Kconfig: bool "Intel MSIC mixed signal gpio support"

    ...meaning that it currently is not being built as a module by anyone.

    Lets remove the couple traces of modular infrastructure use, so that
    when reading the driver there is no doubt it is builtin-only.

    We delete the MODULE_LICENSE tag etc. since all that information
    is already contained at the top of the file in the comments.

    We don't replace module.h with init.h since the file already has that.

    Cc: Alexandre Courbot
    Cc: Mathias Nyman
    Cc: linux-gpio@vger.kernel.org
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Linus Walleij

    Paul Gortmaker
     

19 Aug, 2016

5 commits


15 Aug, 2016

3 commits

  • Linus Torvalds
     
  • Pull thermal updates from Zhang Rui:

    - Fix a race condition when updating cooling device, which may lead to
    a situation where a thermal governor never updates the cooling
    device. From Michele Di Giorgio.

    - Fix a zero division error when disabling the forced idle injection
    from the intel powerclamp. From Petr Mladek.

    - Add suspend/resume callback for intel_pch_thermal thermal driver.
    From Srinivas Pandruvada.

    - Another two fixes for clocking cooling driver and hwmon sysfs I/F.
    From Michele Di Giorgio and Kuninori Morimoto.

    [ Hmm. That suspend/resume callback for intel_pch_thermal doesn't look
    like a fix, but I'm letting it slide.. - Linus ]

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
    thermal: clock_cooling: Fix missing mutex_init()
    thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs
    thermal: fix race condition when updating cooling device
    thermal/powerclamp: Prevent division by zero when counting interval
    thermal: intel_pch_thermal: Add suspend/resume callback

    Linus Torvalds
     
  • Pull m68knommu fix from Greg Ungerer:
    "This contains only a single fix for a register corruption problem on
    certain types of m68k flat format binaries"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
    m68knommu: fix user a5 register being overwritten

    Linus Torvalds