summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-nuc900.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2012-03-24 02:02:36 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-24 03:58:40 +0400
commit32d322bcb0d6886084197247e30aa130956d5978 (patch)
tree10cf0236a922101e3df41579e915e125dd5179ec /drivers/rtc/rtc-nuc900.c
parentfef931ff98fe78bea804d9b4c49d410a7a97988c (diff)
downloadlinux-32d322bcb0d6886084197247e30aa130956d5978.tar.xz
rtc: ds1307: refactor chip_desc table
The chip_desc table is suboptimal. Currently it requires an entry for every new chip type, even if it is empty. This has already been forgotten for the ds1388. Refactor the code, so new entries are only needed, when they chip type really needs a (non-empty) description. Also make the table visually more appealing. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: Austin Boyle <Austin.Boyle@aviatnet.com> Cc: David Anders <danders.dev@gmail.com> Cc: Alessandro Zummo <alessandro.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-nuc900.c')
0 files changed, 0 insertions, 0 deletions