]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers/rtc/rtc-max6902.c: use register defines instead of magic numbers
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Apr 2013 23:20:57 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:39 +0000 (18:28 -0700)
commit08348d2f10d2c6c326bb642eb6f46a696c26f31e
treeb8d2057e525f25b57a3b1a00423d6ed95ad9693f
parent431c6c1df36d1511d48ccbd38b9561a486142d42
drivers/rtc/rtc-max6902.c: use register defines instead of magic numbers

Current code has defines for registers, use the defines rather than
magic numbers.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Raphael Assenat <raph@raphnet.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-max6902.c