From: Wolfram Sang Date: Fri, 23 Mar 2012 22:02:36 +0000 (-0700) Subject: rtc: ds1307: refactor chip_desc table X-Git-Tag: v3.4-rc1~109^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32d322bcb0d6886084197247e30aa130956d5978;p=pandora-kernel.git 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 Cc: Austin Boyle Cc: David Anders Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed