]> 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)
commit499012204f1499b90f754f63e9cb8596dc598089
tree6ba221de466c2f4b8efb2f886ad1ddcc6d580459
parenteb1bf8bd35ebc7886d5d175e97265911419e5c53
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