device.h: move 'struct driver' stuff out to device/driver.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2019 19:33:03 +0000 (20:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Dec 2019 09:11:16 +0000 (10:11 +0100)
commit4c002c978b7f2f2306d53de051c054504af920a9
tree31c4083b3ad88e33f18437f1b8acc35e1bc7e47d
parenta8ae608529ab1b71a3830895f98a107be90fed48
device.h: move 'struct driver' stuff out to device/driver.h

device.h has everything and the kitchen sink when it comes to struct
device things, so split out the struct driver things things to a
separate .h file to make things easier to maintain and manage over time.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Saravana Kannan <saravanak@google.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20191209193303.1694546-7-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/driver.c
include/linux/device.h
include/linux/device/driver.h [new file with mode: 0644]
init/main.c