]> asedeno.scripts.mit.edu Git - linux.git/commit
driver core: bus: use to_subsys_private and to_device_private_bus
authorGeliang Tang <geliangtang@163.com>
Tue, 5 Jan 2016 15:03:38 +0000 (23:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2016 01:25:27 +0000 (17:25 -0800)
commit371fd7a2c438a56e00c18a83178555a7918329a2
treecbb387f814c835b3787257209a69ab34b25af63a
parent4c62785e670e978294222a42200346f0538e19e7
driver core: bus: use to_subsys_private and to_device_private_bus

Use to_subsys_private() and to_device_private_bus() instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c