21 Jun, 2008

2 commits


30 Sep, 2006

1 commit


01 Aug, 2006

1 commit


15 Jul, 2006

2 commits


11 Jul, 2006

3 commits

  • - Switch from register_chrdev() to (register|alloc)_chrdev_region().

    - use a cdev. This was intended for original patchset, but was
    overlooked.

    We use a single cdev for all pins (minor device-numbers), as gleaned
    from cs5535_gpio, and in contrast to whats currently done in scx200_gpio
    (which I'll fix soon)

    Signed-off-by: Jim Cromie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jim Cromie
     
  • Fix module-init-func by repairing usage of platform_device_del/put in
    module-exit-func. IOW, it imitates Ingo's 'mishaps' patch, which fixed the
    module-init-func's undo handling.

    Also fixes lack of release_region to undo the earlier registration.

    Also starts to 'use a cdev' which was originally intended (its present in
    scx200_gpio). Code compiles and runs, exhibits a lesser error than
    previously. (re-register-chrdev fails)

    Since I had to add "include ", I went ahead and made 2
    tweaks that fell into diff-context-window:
    - remove include everyone's doing it
    - copyright updates - current date is 'wrong'

    Signed-off-by: Jim Cromie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jim Cromie
     
  • add constant defines - preparatory patch

    - adds #define CONSTs for max-pin, gpio-addr-range (for reserving region)
    - fix wrong max-pin check in gpio_open()
    - add 'Winbond' to module description. NSC sold the product, Winbond
    has supported us / lm-sensors

    Signed-off-by: Jim Cromie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jim Cromie
     

04 Jul, 2006

1 commit

  • Mark the static struct file_operations in drivers/char as const. Making
    them const prevents accidental bugs, and moves them to the .rodata section
    so that they no longer do any false sharing; in addition with the proper
    debug option they are then protected against corruption..

    [akpm@osdl.org: build fix]
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

01 Jul, 2006

1 commit


28 Jun, 2006

6 commits