From: Atsushi Nemoto Date: Wed, 16 Dec 2009 00:46:04 +0000 (-0800) Subject: rtc: do not use container_of macro as an argument for to_platform_device X-Git-Tag: v2.6.33-rc1~71^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50e49bee3fc5c0cd0aff80ebd8061f356b7b9bd8;p=pandora-kernel.git rtc: do not use container_of macro as an argument for to_platform_device The to_platform_device macro itself uses container_of macro. Nested use of container_of macro causes following sparse warnings: rtc-ds1553.c:259:3: warning: symbol '__mptr' shadows an earlier one rtc-ds1553.c:259:3: originally declared here Signed-off-by: Atsushi Nemoto Cc: Alessandro Zummo Cc: David Brownell Cc: Andrew Sharp Cc: Thomas Hommel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed