]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: xilinx: Remove .owner field for driver
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Aug 2014 11:51:28 +0000 (13:51 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 18:43:42 +0000 (20:43 +0200)
commitcdbfdfcaf904e85c68e1d3e135a575e1dbd2513d
tree9b700821606723d35f709219526e2986b5eee614
parentcf707b7b48540e4559958bc7587fb506b5c80cc1
watchdog: xilinx: Remove .owner field for driver

There is no need to init .owner field.

Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"

This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/of_xilinx_wdt.c