diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-30 12:15:41 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-06-18 23:57:59 +0200 |
commit | 0d1ca88bbfdfdad4f6fc0421da5e4ea9a13a0d42 (patch) | |
tree | 4c2239b18874e25e3d37a25c65bcda889177b07b /drivers/ide/icside.c | |
parent | d0607aa4aee88cb097b694caa619e68f1e0a39c6 (diff) | |
download | linux-0d1ca88bbfdfdad4f6fc0421da5e4ea9a13a0d42.tar.bz2 |
NFC: nfcmrvl_usb: use interface as phy device
Use the USB-interface rather than parent USB-device device, which is
what this driver binds to, when registering the nci device.
Note that using the right device is important when dealing with device-
managed resources as the interface can be unbound independently of the
parent device.
Also note that private device pointer had already been set by
nfcmrvl_nci_register_dev() so the redundant assignment can therefore be
removed.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/ide/icside.c')
0 files changed, 0 insertions, 0 deletions