]> asedeno.scripts.mit.edu Git - linux.git/commit
mei: me: mei_me_dev_init() use struct device instead of struct pci_dev.
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 6 Nov 2019 22:38:39 +0000 (00:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 08:35:48 +0000 (09:35 +0100)
commit907b471ca228a5fc95f7ee8b3d189e64ade7ce9b
tree259c27e434c50773014f9afc04c282239b4212dd
parent7383092c4d4c106e09caffaba5eb91f96f48a949
mei: me: mei_me_dev_init() use struct device instead of struct pci_dev.

It's enough to bind mei_device with associated 'struct device' instead
of actual 'struct pci_dev'. This is to allow working with mei devices
embedded within another pci device, usually via MFD framework,
where mei device is represented as a platform device.

Bump copyright year to 2019 on effected files.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20191106223841.15802-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw-me.h
drivers/misc/mei/pci-me.c