06 Dec, 2009

1 commit


21 Jul, 2008

1 commit


03 Feb, 2008

1 commit

  • Fix kernel-doc in drivers/dio/ so that it is formatted correctly
    and the parameter names match the function parameters.

    Signed-off-by: Randy Dunlap
    Acked-By: Jochen Friedrich
    Signed-off-by: Adrian Bunk

    Randy Dunlap
     

26 Mar, 2006

1 commit

  • Remove the assumption that driver_register() returns the number of devices
    bound to the driver. In fact, it returns zero for success or a negative
    error value.

    dio_module_init() used the device count to automatically unregister and
    unload drivers that found no devices. That might have worked at one time,
    but has been broken for some time because dio_register_driver() returned
    either a negative error or a positive count (never zero). So it could only
    unregister on failure, when it's not needed anyway.

    This functionality could be resurrected in individual drivers by counting
    devices in their .probe() methods.

    Signed-off-by: Bjorn Helgaas
    Cc: Philip Blundell
    Cc: Jochen Friedrich
    Cc: "Antonino A. Daplas"
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bjorn Helgaas
     

14 Jan, 2006

1 commit