]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-pcf8563.c: set owner field in driver struct
authorNick Bowler <nbowler@elliptictech.com>
Mon, 30 Jul 2012 21:41:57 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:19 +0000 (17:25 -0700)
commit68725c1d57b03995ba1f7cabfd192bc18d7b27d6
tree6ba221de466c2f4b8efb2f886ad1ddcc6d580459
parent195d27b61b69a9afa127ed392855358f4dfb5e5f
drivers/rtc/rtc-pcf8563.c: set owner field in driver struct

The owner member is supposed to be set to the module implementing the
device driver, i.e., THIS_MODULE.  This enables the appropriate module
link in sysfs.

Signed-off-by: Nick Bowler <nbowler@elliptictech.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcf8563.c