mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
s390/ap: use the common device_driver pointer
The device struct itself already contains a pointer to its driver. Use this consistently, instead of duplicating it. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
committed by
Heiko Carstens
parent
81a076171e
commit
c8c68c5fca
@@ -157,7 +157,6 @@ void ap_driver_unregister(struct ap_driver *);
|
||||
|
||||
struct ap_device {
|
||||
struct device device;
|
||||
struct ap_driver *drv; /* Pointer to AP device driver. */
|
||||
int device_type; /* AP device type. */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user