05 Jan, 2016

1 commit


27 Dec, 2015

1 commit

  • As we want gpio_chip .get() calls to be able to return negative
    error codes and propagate to drivers, we need to go over all
    drivers and make sure their return values are clamped to [0,1].
    We do this by using the ret = !!(val) design pattern.

    Cc: Feng Tang
    Cc: Tomoya MORINAGA
    Signed-off-by: Linus Walleij

    Linus Walleij
     

22 Jul, 2014

1 commit


04 Dec, 2013

1 commit

  • This switches the two members of struct gpio_chip that were
    defined as unsigned foo:1 to bool, because that is indeed what
    they are. Switch all users in the gpio and pinctrl subsystems
    to assign these values with true/false instead of 0/1. The
    users outside these subsystems will survive since true/false
    is 1/0, atleast we set some kind of more strict typing example.

    Signed-off-by: Linus Walleij

    Linus Walleij
     

03 Dec, 2013

1 commit


31 May, 2013

1 commit


21 May, 2013

1 commit


29 Nov, 2012

3 commits

  • CONFIG_HOTPLUG is going away as an option so __devexit is no
    longer needed.

    Signed-off-by: Bill Pemberton
    Cc: Grant Likely
    Acked-by: Linus Walleij
    Cc: Peter Tyser
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devinit is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Grant Likely
    Cc: Peter Tyser
    Cc: Santosh Shilimkar
    Cc: Kevin Hilman
    Acked-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Grant Likely
    Cc: Peter Tyser
    Acked-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     

17 Aug, 2012

1 commit


08 Apr, 2012

1 commit


02 Feb, 2012

1 commit


17 Jan, 2012

2 commits

  • The __iomem annotation is to be used together with pointers used
    in iowrite32() but not for pointers returned by kzalloc().
    For more details see [1] and [2].

    This patch will remove the following sparse warning (i.e. when
    copiling with "make C=1"):
    * warning: incorrect type in assignment (different address spaces)

    References:
    [1] A new I/O memory access mechanism (Sep 15, 2004)
    http://lwn.net/Articles/102232/

    [2] Being more anal about iospace accesses (Sep 15, 2004)
    http://lwn.net/Articles/102240/

    Signed-off-by: Márton Németh
    Signed-off-by: Grant Likely

    Márton Németh
     
  • This patch will remove the following sparse warning ("make C=1"):
    * warning: Using plain integer as NULL pointer

    Signed-off-by: Márton Németh
    Signed-off-by: Grant Likely

    Márton Németh
     

14 Dec, 2011

2 commits


01 Nov, 2011

1 commit


20 Oct, 2011

1 commit

  • Currently, GFP_KERNEL is used as parameter of irq_alloc_descs like below.

    irq_base = irq_alloc_descs(-1, IOH_IRQ_BASE, num_ports[j],
    GFP_KERNEL);

    This is not true.
    So, this patch uses NUMA_NO_NODE not GFP_KERNEL.

    Reported-by: Dan Carpenter
    Reported-by: David Rientjes
    Signed-off-by: Tomoya MORINAGA
    Acked-by: David Rientjes
    Signed-off-by: Grant Likely

    Tomoya MORINAGA
     

06 Oct, 2011

3 commits


17 Jun, 2011

1 commit


07 Jun, 2011

1 commit

  • Sort the gpio makefile and enforce the naming convention gpio-*.c for
    gpio drivers.

    v2: cleaned up filenames in Kconfig and comment blocks
    v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc

    Signed-off-by: Grant Likely

    Grant Likely