From: kbuild test robot Date: Sat, 13 Jun 2015 13:16:56 +0000 (+0800) Subject: rtc: gemini: fix cocci warnings X-Git-Tag: omap-for-v4.3/legacy-v2-signed~136^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45b4c85b71bbe691329983c9bf9877392700edc3;p=pandora-kernel.git rtc: gemini: fix cocci warnings Use resource_size function on resource object instead of explicit computation. No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Signed-off-by: Fengguang Wu Acked-by: Hans Ulli Kroll Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed