diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-06-13 16:16:56 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-06-25 02:13:45 +0300 |
commit | 45b4c85b71bbe691329983c9bf9877392700edc3 (patch) | |
tree | 9a6409c241b2f7f9e811303594bd00fde8034d79 /drivers/watchdog/stmp3xxx_rtc_wdt.c | |
parent | 4042a1475ef5cb290f5fedd5ef8de3e1114c55cd (diff) | |
download | linux-45b4c85b71bbe691329983c9bf9877392700edc3.tar.xz |
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 <fengguang.wu@intel.com>
Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/watchdog/stmp3xxx_rtc_wdt.c')
0 files changed, 0 insertions, 0 deletions