06 Sep, 2015

1 commit


20 Oct, 2014

1 commit


04 Apr, 2014

1 commit

  • Use devm_ioremap_resource() in order to make the code simpler, and move
    'struct resource *res' from 'struct vt8500_rtc' to vt8500_rtc_probe()
    because the 'res' variable is used only in vt8500_rtc_probe().

    Signed-off-by: Jingoo Han
    Cc: Tony Prisk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     

13 Nov, 2013

2 commits


04 Jul, 2013

1 commit

  • The driver core clears the driver data to NULL after device_release or
    on probe failure, since commit 0998d063100 ("device-core: Ensure drvdata
    = NULL when no driver is bound"). Thus, it is not needed to manually
    clear the device driver data to NULL.

    Signed-off-by: Jingoo Han
    Acked-by: Tony Prisk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     

30 Apr, 2013

1 commit


22 Feb, 2013

1 commit


05 Feb, 2013

1 commit


05 Jan, 2013

2 commits

  • tm_mon is 0..11, whereas vt8500 expects 1..12 for the month field,
    causing invalid date errors for January, and causing the day field to
    roll over incorrectly.

    The century flag is only handled in vt8500_rtc_read_time, but not set in
    vt8500_rtc_set_time. This patch corrects the behaviour of the century
    flag.

    Signed-off-by: Edgar Toernig
    Signed-off-by: Tony Prisk
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tony Prisk
     
  • Control register bitfield for 12H/24H mode is handled incorrectly.
    Setting CR_24H actually enables 12H mode. This patch renames the define
    and changes the initialization code to correctly set 24H mode.

    Signed-off-by: Tony Prisk
    Cc: Edgar Toernig
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tony Prisk
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Alessandro Zummo
    Cc: Srinidhi Kasagar
    Cc: Linus Walleij
    Cc: Mike Frysinger
    Cc: Wan ZongShun
    Cc: Guan Xuetao
    Cc: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

18 Dec, 2012

1 commit


21 Sep, 2012

1 commit


11 Jan, 2012

1 commit

  • This patch converts the drivers in drivers/rtc/* to use the
    module_platform_driver() macro which makes the code smaller and a bit
    simpler.

    Signed-off-by: Axel Lin
    Acked-by: Mark Brown
    Acked-by: Mike Frysinger
    Acked-by: Guan Xuetao
    Acked-by: Linus Walleij
    Acked-by: Haojian Zhuang
    Cc: Alessandro Zummo
    Cc: Srinidhi Kasagar
    Cc: Lars-Peter Clausen
    Cc: Ben Dooks
    Cc: John Stultz
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Axel Lin
     

02 Jul, 2011

1 commit


24 Jun, 2011

1 commit

  • Now that the generic code handles UIE mode irqs via periodic
    alarm interrupts, no one calls the
    rtc_class_ops->update_irq_enable() method anymore.

    Further the rtc_class_ops doesn't have a update_irq_enable element
    anymore, so this causes a build error.

    This patch removes the driver hooks and implementations of
    update_irq_enable and the associated setup.

    [wsa: updated commit-message and removed update_irq_enable-function, too]
    [jstultz: improve commit message, clarifying build issue]
    Signed-off-by: Alexey Charkov
    Signed-off-by: Wolfram Sang
    Signed-off-by: John Stultz

    Alexey Charkov
     

27 May, 2011

1 commit