Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR"
authorJohan Hovold <jhovold@gmail.com>
Fri, 5 Apr 2013 16:16:34 +0000 (18:16 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Apr 2013 16:36:53 +0000 (09:36 -0700)
commite24b0bfa2f0446ffaad2661040be23668133aef8
treeed45725874c8e4e9059cc0e25e928f8995493a41
parentc4c80f63fb97cd9a82cd35579eeb6467f3d485fc
Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR"

This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde.

This patch introduced a few races which cannot be easily fixed with a
small follow-up patch. Furthermore, the SoC with the broken hardware
register, which this patch intended to add support for, can only be used
with device trees, which this driver currently does not support.

[ Here is the discussion that led to this "revert" patch:
  https://lkml.org/lkml/2013/4/3/176 ]

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-at91rm9200.c
drivers/rtc/rtc-at91rm9200.h