11 Jan, 2012

1 commit

  • In ancient times it was necessary to manually initialize the bus field of
    an spi_driver to spi_bus_type. These days this is done in
    spi_driver_register(), so we can drop the manual assignment.

    The patch was generated using the following coccinelle semantic patch:
    //
    @@
    identifier _driver;
    @@
    struct spi_driver _driver = {
    .driver = {
    - .bus = &spi_bus_type,
    },
    };
    //

    Signed-off-by: Lars-Peter Clausen
    Cc: John Stultz
    Cc: Alessandro Zummo
    Cc: Grant Likely
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lars-Peter Clausen
     

14 Jan, 2011

1 commit


23 Sep, 2009

1 commit

  • This makes it consistent with other buses (platform, i2c, vio, ...). I'm
    not sure why we use the prefixes, but there must be a reason.

    This was easy enough to do it, and I did it.

    Signed-off-by: Anton Vorontsov
    Cc: David Brownell
    Cc: David Woodhouse
    Cc: Grant Likely
    Cc: Jean Delvare
    Cc: Ben Dooks
    Cc: Benjamin Herrenschmidt
    Cc: Dmitry Torokhov
    Cc: Samuel Ortiz
    Cc: "John W. Linville"
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     

07 Jan, 2009

1 commit

  • - no changelogs in code
    - no banners
    - use local buffers
    - fix probe sequence
    - fixed style issues
    - fix spi_write call
    - removed old debug code

    replaces http://patchwork.ozlabs.org/patch/9421/
    and http://patchwork.ozlabs.org/patch/9455/

    Signed-off-by: Alessandro Zummo
    Acked-by: David Brownell
    Cc: Raphael Assenat
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alessandro Zummo
     

20 Oct, 2008

1 commit

  • Change drivers/rtc/ to use the new bcd2bin/bin2bcd functions instead of
    the obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.

    Signed-off-by: Adrian Bunk
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

24 Aug, 2008

1 commit


28 Apr, 2008

1 commit


06 Dec, 2007

1 commit

  • Given the patch which simplifies the spi_sync calling convention, this one
    updates the callers of that routine which tried using it according to the
    previous specification. (Most didn't.)

    Signed-off-by: Marc Pignat
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marc Pignat
     

23 Aug, 2007

1 commit

  • Minor tweaks to rtc-max6902: make it hotplug correctly, and fix a few
    space-before-tab whitespace botches. This driver has no current in-tree
    users, so the hotplug fix changes the driver name.

    Signed-off-by: David Brownell
    Cc: Atsushi Nemoto
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

17 Oct, 2006

1 commit


04 Oct, 2006

2 commits


01 Oct, 2006

1 commit


26 Jun, 2006

1 commit

  • Add support for the MAX6902 SPI RTC chip. Tested on a pxa2xx cpu.

    The compulab code comes from the kernel patch the produce for their
    cn-x255 board. (inside a zip file on the
    http://www.compulab.co.il/x255/html/x255-developer.htm)

    The original file (drivers/char/max6902.c) was GPL, which is of course
    an appropriate licence:

    /*
    * max6902.c
    *
    * Driver for MAX6902 RTC
    *
    * Copyright (C) 2004 Compulab Ltd.
    *
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License version 2 as
    * published by the Free Software Foundation.
    *
    *
    */

    For reference, you can get the original file here:
    http://raph.people.8d.com/misc/max6902.c

    [akpm@osdl.org: cleanups]
    Signed-off-by: Raphael Assenat
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Raphael Assenat